Fix status temp sensor array references

This commit is contained in:
2026-06-04 14:27:17 -06:00
parent 0afd78284e
commit 37684a55eb
@@ -463,9 +463,6 @@ void buildStatusDocument(JsonDocument& doc) {
battery["cells_valid"] = false;
}
const float tempValues[4] = {sensors.temp1, sensors.temp2, sensors.temp3, sensors.temp4};
const bool tempOnline[4] = {sensors.temp1Online, sensors.temp2Online, sensors.temp3Online, sensors.temp4Online};
JsonArray temps = doc.createNestedArray("temps");
int tempCount = appConfig.tempSensorCount > 4 ? 4 : appConfig.tempSensorCount;