You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
301 B

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