From 5fd3b666cab1212689db2c1fc69b35e26be7b090 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 2 Feb 2020 23:15:13 +0100 Subject: [PATCH] minor formatting --- src/ems-esp.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ems-esp.cpp b/src/ems-esp.cpp index 276345cb6..0dd66c70b 100644 --- a/src/ems-esp.cpp +++ b/src/ems-esp.cpp @@ -1637,7 +1637,7 @@ void MQTTCallback(unsigned int type, const char * topic, const char * message) { float f = strtof((char *)message, 0); if (f) { ems_setThermostatTemp(f, hc); - publishEMSValues(true); // publish back immediately } + publishEMSValues(true); // publish back immediately return; } } @@ -1679,7 +1679,7 @@ void MQTTCallback(unsigned int type, const char * topic, const char * message) { float f = doc["data"]; if (f) { ems_setThermostatTemp(f, hc); - publishEMSValues(true); // publish back immediately } + publishEMSValues(true); // publish back immediately return; } } @@ -1710,7 +1710,7 @@ void MQTTCallback(unsigned int type, const char * topic, const char * message) { if (EMS_Thermostat.hc[hc - 1].active) { float f = doc["data"]; if (f) { - ems_setThermostatTemp(f, hc, 1); // night } + ems_setThermostatTemp(f, hc, 1); // night return; } }