deviceString for esp32

This commit is contained in:
Will Tatam
2025-11-19 23:48:30 +00:00
parent a2935b87c2
commit 1860258deb

View File

@@ -1168,7 +1168,7 @@ String getDeviceId() {
#ifdef ESP8266 #ifdef ESP8266
String deviceString = String(macStr) + "WLED" + ESP.getCoreVersion(); String deviceString = String(macStr) + "WLED" + ESP.getCoreVersion();
#else #else
String macString = String(macStr) + "WLED" + ESP. getChipModel() + ESP.getChipRevision(); String deviceString = String(macStr) + "WLED" + ESP. getChipModel() + ESP.getChipRevision();
#endif #endif
String firstHash = computeSHA1(deviceString); String firstHash = computeSHA1(deviceString);