b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | --- a/src/at42qt1070/at42qt1070.cxx |
2 | +++ b/src/at42qt1070/at42qt1070.cxx | ||||
3 | @@ -53,7 +53,7 @@ AT42QT1070::AT42QT1070(int bus, uint8_t | ||||
4 | return; | ||||
5 | } | ||||
6 | |||||
7 | - if (readChipID() != 0x2E) { | ||||
8 | + if (readChipID() != 0x1b && readChipID() != 0x2E) { | ||||
9 | throw std::runtime_error("Chip ID does not match the expected value (2Eh)"); | ||||
10 | } | ||||
11 |