mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-30 10:13:04 +05:00
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:
1 parent
93d7ebad28
commit
c354ecd6e0
13 files changed
+20
-21
No files matched your search
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user