fix: correct threshold names across firmware and portal

Use threshold_time for the emergency-mode delay in settings, JSON,
portal forms and all five translations.

Convert legacy tresholdTime backup fields to threshold_time.
Correct the NTC voltage threshold macro names while keeping their limits.
This commit is contained in:
Yurii authored and Yurii committed 2026-11-23 19:25:37 +03:00
1 parent 93d7ebad28
commit c354ecd6e0
13 files changed
+20 -21

No files matched your search

+1 -1
View File
@@ -893,7 +893,7 @@ static Task readNtcSensorsTask("Read NTC sensors", [](void*) {
}
const auto value = analogReadMilliVolts(sSensor->gpio);
if (value < DEFAULT_NTC_VLOW_TRESHOLD || value > DEFAULT_NTC_VHIGH_TRESHOLD) {
if (value < DEFAULT_NTC_VLOW_THRESHOLD || value > DEFAULT_NTC_VHIGH_THRESHOLD) {
Sensors::setConnectionStatusById(sensorId, false, false);
ESP_LOGW(