deviceString for esp32
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user