From a7ef1ecc4cbcaf62dc34643e52d50a315404ac8f Mon Sep 17 00:00:00 2001 From: TD-er Date: Mon, 29 May 2023 12:06:17 +0200 Subject: [PATCH] Consider ZP25WQ80 similar to PUYA flash chips As discussed on [the forum](https://www.letscontrolit.com/forum/viewtopic.php?p=64660#p64660) --- src/src/Helpers/Hardware.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/src/Helpers/Hardware.cpp b/src/src/Helpers/Hardware.cpp index 0be991dd9e..e815436bce 100644 --- a/src/src/Helpers/Hardware.cpp +++ b/src/src/Helpers/Hardware.cpp @@ -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() {