mirror of
https://github.com/arendst/Tasmota.git
synced 2025-08-02 07:27:42 +00:00
fix that firmware is send everytime since commit 39705a2e059cf616199c1e18eb04a87d00482b7c
This commit is contained in:
parent
3640372fd0
commit
032c87c7a9
@ -1508,7 +1508,7 @@ void MI32Show(bool json)
|
|||||||
if (!isnan(MIBLEsensors[i].fertility)) {
|
if (!isnan(MIBLEsensors[i].fertility)) {
|
||||||
ResponseAppend_P(PSTR(",\"Fertility\":%f"), 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);
|
ResponseAppend_P(PSTR(",\"Firmware\":\"%s\""), MIBLEsensors[i].firmware);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user