updated code logic to pic FW/App version from appversion instead of hard-coding in js/html/cpp files

This commit is contained in:
Shailen Sobhee 2026-03-30 22:41:08 +02:00
parent bb61a1703d
commit fe4aa83ed2
8 changed files with 78 additions and 155 deletions

View file

@ -5,7 +5,11 @@
#ifndef configsettings_h
#define configsettings_h
#include "WResp.h"
#define FW_VERSION "v2.4.8"
// #define FW_VERSION "v2.4.8"
#ifndef FW_VERSION
#define FW_VERSION "v0.0.0" // Fallback if app_version.py script fails
#endif
enum class conn_types_t : byte {
unset = 0x00,
wifi = 0x01,