mirror of https://github.com/arendst/Tasmota.git
fix that firmware is send everytime since commit 39705a2e05
This commit is contained in:
parent
3640372fd0
commit
032c87c7a9
|
@ -1508,7 +1508,7 @@ void MI32Show(bool json)
|
|||
if (!isnan(MIBLEsensors[i].fertility)) {
|
||||
ResponseAppend_P(PSTR(",\"Fertility\":%f"), MIBLEsensors[i].fertility);
|
||||
}
|
||||
if (MIBLEsensors[i].firmware != 0x00) { // this is the error code -> no firmware
|
||||
if (MIBLEsensors[i].firmware[0] != '\0') { // this is the error code -> no firmware
|
||||
ResponseAppend_P(PSTR(",\"Firmware\":\"%s\""), MIBLEsensors[i].firmware);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue