mirror of
https://github.com/Laxilef/OTGateway.git
synced 2026-11-23 14:53:07 +05:00
refactor: remove unused code from firmware, portal and build scripts
Remove the unused sensor connection getter, slug prefix and suffix helpers, UTC conversion and array formatting routines. Drop unused shared strings and the CONFIG_URL macro. Remove setupUpgradeForm from the shared browser bundle. The upgrade page registers its own submit handler. Delete the obsolete Python gzip packer and its import. Gulp handles compression when building the web assets.
This commit is contained in:
1 parent
3a530d721e
commit
9ff1bd14f5
6 files changed
-262
No files matched your search
@@ -12,7 +12,6 @@ inline const char L_PORTAL_CAPTIVE[] = "PORTAL.CAPTIVE";
|
||||
inline const char L_PORTAL_OTA[] = "PORTAL.OTA";
|
||||
inline const char L_MAIN[] = "MAIN";
|
||||
inline const char L_MQTT[] = "MQTT";
|
||||
inline const char L_MQTT_HA[] = "MQTT.HA";
|
||||
inline const char L_MQTT_MSG[] = "MQTT.MSG";
|
||||
inline const char L_OT[] = "OT";
|
||||
inline const char L_OT_DHW[] = "OT.DHW";
|
||||
@@ -42,7 +41,6 @@ inline const char S_APP_VERSION[] = "app_version";
|
||||
inline const char S_AUTH[] = "auth";
|
||||
inline const char S_AUTO_DIAG_RESET[] = "auto_diag_reset";
|
||||
inline const char S_AUTO_FAULT_RESET[] = "auto_fault_reset";
|
||||
inline const char S_BACKTRACE[] = "backtrace";
|
||||
inline const char S_BATTERY[] = "battery";
|
||||
inline const char S_BAUDRATE[] = "baudrate";
|
||||
inline const char S_BLOCKING[] = "blocking";
|
||||
@@ -56,14 +54,11 @@ inline const char S_CHIP[] = "chip";
|
||||
inline const char S_CODE[] = "code";
|
||||
inline const char S_COMMIT[] = "commit";
|
||||
inline const char S_CONNECTED[] = "connected";
|
||||
inline const char S_CONTINUES[] = "continues";
|
||||
inline const char S_COOLING[] = "cooling";
|
||||
inline const char S_COOLING_SUPPORT[] = "cooling_support";
|
||||
inline const char S_CORE[] = "core";
|
||||
inline const char S_CORES[] = "cores";
|
||||
inline const char S_CRASH[] = "crash";
|
||||
inline const char S_CURRENT_TEMP[] = "current_temp";
|
||||
inline const char S_DATA[] = "data";
|
||||
inline const char S_DATE[] = "date";
|
||||
inline const char S_DEADBAND[] = "deadband";
|
||||
inline const char S_DHW[] = "dhw";
|
||||
@@ -80,7 +75,6 @@ inline const char S_D_MULTIPLIER[] = "d_multiplier";
|
||||
inline const char S_EMERGENCY[] = "emergency";
|
||||
inline const char S_ENABLED[] = "enabled";
|
||||
inline const char S_ENV[] = "env";
|
||||
inline const char S_EPC[] = "epc";
|
||||
inline const char S_EQUITHERM[] = "equitherm";
|
||||
inline const char S_EXPONENT[] = "exponent";
|
||||
inline const char S_EXTERNAL_PUMP[] = "ext_pump";
|
||||
@@ -174,7 +168,6 @@ inline const char S_PURPOSE[] = "purpose";
|
||||
inline const char S_PSRAM[] = "psram";
|
||||
inline const char S_P_FACTOR[] = "p_factor";
|
||||
inline const char S_P_MULTIPLIER[] = "p_multiplier";
|
||||
inline const char S_REASON[] = "reason";
|
||||
inline const char S_RESET_DIAGNOSTIC[] = "reset_diagnostic";
|
||||
inline const char S_RESET_FAULT[] = "reset_fault";
|
||||
inline const char S_RESET_REASON[] = "reset_reason";
|
||||
|
||||
Reference in new issue
Block a user