mirror of https://github.com/arendst/Tasmota.git
Merge pull request #5684 from MadDoct/patch-3
Change tele message of ADS1115 to allow it to work correctly with rules
This commit is contained in:
commit
c019da7b0f
|
@ -212,7 +212,7 @@ void Ads1115Show(bool json)
|
|||
if (!ads1115_type) { return; }
|
||||
|
||||
if (json) {
|
||||
ResponseAppend_P(PSTR(",\"ADS1115\":["));
|
||||
ResponseAppend_P(PSTR(",\"ADS1115\":"));
|
||||
}
|
||||
|
||||
char *comma = (char*)"";
|
||||
|
@ -233,9 +233,6 @@ void Ads1115Show(bool json)
|
|||
}
|
||||
}
|
||||
|
||||
if (json) {
|
||||
ResponseAppend_P(PSTR("]"));
|
||||
}
|
||||
}
|
||||
|
||||
/*********************************************************************************************\
|
||||
|
|
Loading…
Reference in New Issue