firmware: fix temp high alert compile check
This commit is contained in:
@@ -2364,7 +2364,7 @@ void buildStatusDocument(JsonDocument& doc) {
|
|||||||
temp["temperature_f"] = sensors.tempsF[i];
|
temp["temperature_f"] = sensors.tempsF[i];
|
||||||
temp["high_alert"] =
|
temp["high_alert"] =
|
||||||
appConfig.tempSensors[i].highAlertEnabled &&
|
appConfig.tempSensors[i].highAlertEnabled &&
|
||||||
sensors.tempOnline[i] &&
|
sensors.tempsF[i] > -100.0 &&
|
||||||
sensors.tempsF[i] > appConfig.tempSensors[i].highAlertF;
|
sensors.tempsF[i] > appConfig.tempSensors[i].highAlertF;
|
||||||
} else {
|
} else {
|
||||||
temp["temperature_f"] = nullptr;
|
temp["temperature_f"] = nullptr;
|
||||||
|
|||||||
Reference in New Issue
Block a user