Compare commits

...
Author SHA1 Message Date
TD-erandGitHub a7ef1ecc4c Consider ZP25WQ80 similar to PUYA flash chips
As discussed on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?p=64660#p64660)
2023-05-29 12:06:17 +02:00
+2 -1
View File
@@ -760,7 +760,8 @@ uint8_t getFlashChipVendorId() {
bool flashChipVendorPuya() {
const uint8_t vendorId = getFlashChipVendorId();
return vendorId == 0x85; // 0x146085 PUYA
return vendorId == 0x85 || // 0x146085 PUYA
vendorId == 0xBA; // 0x1460BA ZP25WQ80
}
uint32_t getChipId() {