DeviceName now as own define

This commit is contained in:
2021-06-13 23:17:11 +02:00
parent 349cfed864
commit 8d151458d4
4 changed files with 8 additions and 3 deletions

View File

@@ -18,6 +18,10 @@
#endif
#ifndef DEVICE_NAME
#define DEVICE_NAME WIFI_SSID
#endif
#ifndef BAT_LOW_PERCENT
#define BAT_LOW_PERCENT 10
#endif

View File

@@ -114,7 +114,7 @@ String processor(const String &var)
return FACTION_3_NAME;
if (var == "TITLE")
return WIFI_SSID;
return DEVICE_NAME;
if (var == "BATTERY_LEVEL")
{