mirror of
https://github.com/schinken/esp8266-geigercounter.git
synced 2024-11-13 04:24:21 +01:00
Code cleanup
This commit is contained in:
parent
b6d40408e0
commit
4507b073f9
1 changed files with 1 additions and 5 deletions
|
@ -68,6 +68,7 @@ void updateRadiationValues() {
|
|||
void connectMqtt() {
|
||||
|
||||
bool newConnection = false;
|
||||
|
||||
while (!mqttClient.connected()) {
|
||||
mqttClient.setClient(wifiClient);
|
||||
mqttClient.setServer(mqttHost, 1883);
|
||||
|
@ -81,11 +82,6 @@ void connectMqtt() {
|
|||
mqttClient.publish(MQTT_TOPIC_LAST_WILL, "connected", true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void updateMqttTopics(int cpm, float uSv) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
void parseReceivedLine(char* input) {
|
||||
|
|
Loading…
Reference in a new issue