We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4178e66 commit bd470f0Copy full SHA for bd470f0
cores/esp32/Esp.cpp
@@ -262,13 +262,13 @@ const char *EspClass::getChipModel(void) {
262
uint32_t pkg_ver = chip_ver & 0x7;
263
switch (pkg_ver) {
264
case EFUSE_RD_CHIP_VER_PKG_ESP32D0WDQ6:
265
- if (getChipRevision() == 3) {
+ if (getChipRevision() == 300) {
266
return "ESP32-D0WDQ6-V3";
267
} else {
268
return "ESP32-D0WDQ6";
269
}
270
case EFUSE_RD_CHIP_VER_PKG_ESP32D0WDQ5:
271
272
return "ESP32-D0WD-V3";
273
274
return "ESP32-D0WD";
0 commit comments