From e914053041d3e4312143d01b1520cf364a4a1228 Mon Sep 17 00:00:00 2001 From: arendst Date: Sun, 25 Jun 2017 23:07:51 +0200 Subject: [PATCH] v5.2.2 5.2.2 20170625 * Add configuration SaveAddress to Status 1 and Information Page * Change Sonoff Led Color conversion from AtoH to strtol * Fix possible wrong uploads due to configuration overwrites (#542) * Fix payload negative numbers (#547) --- sonoff/sonoff.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonoff/sonoff.ino b/sonoff/sonoff.ino index 6780dbb4847a..0208a43de656 100644 --- a/sonoff/sonoff.ino +++ b/sonoff/sonoff.ino @@ -940,8 +940,8 @@ void mqttDataCb(char* topic, byte* data, unsigned int data_len) payload = 4; } - snprintf_P(svalue, sizeof(svalue), PSTR("RSLT: Payload %d, Payload16 %d"), payload, payload16); - addLog(LOG_LEVEL_DEBUG, svalue); +// snprintf_P(svalue, sizeof(svalue), PSTR("RSLT: Payload %d, Payload16 %d"), payload, payload16); +// addLog(LOG_LEVEL_DEBUG, svalue); if (!strcmp_P(type,PSTR("POWER")) && (index > 0) && (index <= Maxdevice)) { if ((payload < 0) || (payload > 4)) {