mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 18:56:38 +00:00
Merge pull request #10235 from barbudor/fix_result_gpio
remove superfluous closing brace on GPIO result
This commit is contained in:
commit
26e700e43b
@ -1188,7 +1188,7 @@ void CmndGpio(void)
|
|||||||
}
|
}
|
||||||
char stemp1[TOPSZ];
|
char stemp1[TOPSZ];
|
||||||
if ((ResponseAppend_P(PSTR("\"" D_CMND_GPIO "%d\":{\"%d\":\"%s%s\"}"), i, sensor_type, GetTextIndexed(stemp1, sizeof(stemp1), sensor_name_idx, sensor_names), sindex) > (LOGSZ - TOPSZ)) || (i == ARRAY_SIZE(Settings.my_gp.io) -1)) {
|
if ((ResponseAppend_P(PSTR("\"" D_CMND_GPIO "%d\":{\"%d\":\"%s%s\"}"), i, sensor_type, GetTextIndexed(stemp1, sizeof(stemp1), sensor_name_idx, sensor_names), sindex) > (LOGSZ - TOPSZ)) || (i == ARRAY_SIZE(Settings.my_gp.io) -1)) {
|
||||||
ResponseJsonEndEnd();
|
ResponseJsonEnd();
|
||||||
MqttPublishPrefixTopic_P(RESULT_OR_STAT, XdrvMailbox.command);
|
MqttPublishPrefixTopic_P(RESULT_OR_STAT, XdrvMailbox.command);
|
||||||
jsflg2 = true;
|
jsflg2 = true;
|
||||||
jsflg = false;
|
jsflg = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user