diff --git a/src/WiFiConfig.h b/src/WiFiConfig.h index 76fa89f..17869c3 100644 --- a/src/WiFiConfig.h +++ b/src/WiFiConfig.h @@ -39,6 +39,10 @@ #include #include +#if TEMPLATE_PLACEHOLDER != '$' +# error 'Need to redefine TEPLATE_PLACEHOLDER to $ sign' +#endif + #define WC_DONT_RUN_CONFIGAP -1 // priznak, ze si neprejeme spoustet konfiguracni AP (uziva se misto parametru timeout). Urceno pro bateriove napajene pristroje #if not defined(WIFICFG_FILE) diff --git a/src/embHTML.h b/src/embHTML.h index b37dae1..d99a122 100644 --- a/src/embHTML.h +++ b/src/embHTML.h @@ -17,9 +17,9 @@ static const char PAGE_INDEX1[] PROGMEM = R"=====(

)=====" WIFICONFIG_TITLE R"=====(

System Info -
Core Version:%SDK% -
Flash Size:%FS% kB -
Sketch Size/Free:%SS% kB / %FSS% kB -
STA MAC:%STAMAC% -
AP MAC:%APMAC% -
ESP Chip ID:%ESPID% -
Flash Chip ID:%FID% +
Core Version:$SDK$ +
Flash Size:$FS$ kB +
Sketch Size/Free:$SS$ kB / $FSS$ kB +
STA MAC:$STAMAC$ +
AP MAC:$APMAC$ +
ESP Chip ID:$ESPID$ +
Flash Chip ID:$FID$
)=====";