Code cleanup

This commit is contained in:
schinken 2015-12-23 22:50:48 +01:00
parent b6d40408e0
commit 4507b073f9

View file

@ -68,6 +68,7 @@ void updateRadiationValues() {
void connectMqtt() { void connectMqtt() {
bool newConnection = false; bool newConnection = false;
while (!mqttClient.connected()) { while (!mqttClient.connected()) {
mqttClient.setClient(wifiClient); mqttClient.setClient(wifiClient);
mqttClient.setServer(mqttHost, 1883); mqttClient.setServer(mqttHost, 1883);
@ -81,11 +82,6 @@ void connectMqtt() {
mqttClient.publish(MQTT_TOPIC_LAST_WILL, "connected", true); mqttClient.publish(MQTT_TOPIC_LAST_WILL, "connected", true);
} }
}
void updateMqttTopics(int cpm, float uSv) {
} }
void parseReceivedLine(char* input) { void parseReceivedLine(char* input) {