blob: 295bfd560d2cce14cd477c47862879c972d38b67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/src/at42qt1070/at42qt1070.cxx
+++ b/src/at42qt1070/at42qt1070.cxx
@@ -53,7 +53,7 @@ AT42QT1070::AT42QT1070(int bus, uint8_t
return;
}
- if (readChipID() != 0x2E) {
+ if (readChipID() != 0x1b && readChipID() != 0x2E) {
throw std::runtime_error("Chip ID does not match the expected value (2Eh)");
}
|