mirror of
https://github.com/wled/WLED.git
synced 2025-11-08 18:48:53 +00:00
Add ESP32 variant display in update page.
This commit is contained in:
@@ -698,7 +698,13 @@ void getSettingsJS(byte subPage, char* dest)
|
||||
sappends('m',SET_F("(\"sip\")[0]"),(char*)F("WLED "));
|
||||
olen -= 2; //delete ";
|
||||
oappend(versionString);
|
||||
#ifdef ARDUINO_ARCH_ESP32
|
||||
#if defined(CONFIG_IDF_TARGET_ESP32C3)
|
||||
oappend(SET_F("<br>(ESP32-C3"));
|
||||
#elif defined(CONFIG_IDF_TARGET_ESP32S3)
|
||||
oappend(SET_F("<br>(ESP32-S3"));
|
||||
#elif defined(CONFIG_IDF_TARGET_ESP32S2)
|
||||
oappend(SET_F("<br>(ESP32-S2"));
|
||||
#elif defined(ARDUINO_ARCH_ESP32)
|
||||
oappend(SET_F("<br>(ESP32"));
|
||||
#else
|
||||
oappend(SET_F("<br>(ESP8266"));
|
||||
|
||||
Reference in New Issue
Block a user