Skip to content

Commit e914053

Browse files
committed
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)
1 parent 2195ddd commit e914053

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sonoff/sonoff.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -940,8 +940,8 @@ void mqttDataCb(char* topic, byte* data, unsigned int data_len)
940940
payload = 4;
941941
}
942942

943-
snprintf_P(svalue, sizeof(svalue), PSTR("RSLT: Payload %d, Payload16 %d"), payload, payload16);
944-
addLog(LOG_LEVEL_DEBUG, svalue);
943+
// snprintf_P(svalue, sizeof(svalue), PSTR("RSLT: Payload %d, Payload16 %d"), payload, payload16);
944+
// addLog(LOG_LEVEL_DEBUG, svalue);
945945

946946
if (!strcmp_P(type,PSTR("POWER")) && (index > 0) && (index <= Maxdevice)) {
947947
if ((payload < 0) || (payload > 4)) {

0 commit comments

Comments
 (0)