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 committed 2026-11-23 07:36:30 +03:00
1 parent d6e1ccb22b
commit eb5f6c9b46
13 files changed
+20 -21

No files matched your search

+2 -2
View File
@@ -28,8 +28,8 @@
#define DEFAULT_NTC_REF_RESISTANCE 10000.0f
#define DEFAULT_NTC_BETA_FACTOR 3950.0f
#define DEFAULT_NTC_VREF 3300.0f
#define DEFAULT_NTC_VLOW_TRESHOLD 25.0f
#define DEFAULT_NTC_VHIGH_TRESHOLD 3298.0f
#define DEFAULT_NTC_VLOW_THRESHOLD 25.0f
#define DEFAULT_NTC_VHIGH_THRESHOLD 3298.0f
#ifndef BUILD_VERSION
#define BUILD_VERSION "0.0.0"