swap to using ESP.getFlashChipId for the 8266

This commit is contained in:
Will Tatam
2025-11-21 08:22:22 +00:00
parent 3dbcd79b3c
commit 9b787e13d1

View File

@@ -1201,7 +1201,7 @@ String getDeviceId() {
// but as WLED developers are just looking at statistics and not authenticating devices, this is acceptable.
// If the usage data was exfiltrated, you could not easily determine the MAC from the device ID without brute forcing SHA1
#ifdef ESP8266
String deviceString = String(macStr) + "WLED" + ESP.getChipId();
String deviceString = String(macStr) + "WLED" + ESP.getFlashChipId();
#else
String deviceString = String(macStr) + "WLED" + ESP.getChipModel() + ESP.getChipRevision();
deviceString += dump_raw_block(EFUSE_BLK0);