mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-16 15:26:29 +00:00
parent
ee8d34abfe
commit
d012ce942b
@ -365,7 +365,7 @@ void Mpr121Show(struct mpr121 *pS, byte function)
|
||||
|
||||
// Append JSON message string
|
||||
if (FUNC_JSON_APPEND == function) {
|
||||
snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s%s\"Button%i\":%i"), mqtt_data, (i > 0 ? "," : ""), j, BITC(i, j));
|
||||
snprintf_P(mqtt_data, sizeof(mqtt_data), PSTR("%s%s\"Button%i\":%i"), mqtt_data, (j > 0 ? "," : ""), j, BITC(i, j));
|
||||
}
|
||||
} // for-loop j
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user