Temporarily allow the touchwheel to be missing

custom
jacqueline 2 years ago
parent 35ecf8c49b
commit 2a46eecdc6
  1. 5
      src/drivers/touchwheel.cpp

@ -47,7 +47,10 @@ void TouchWheel::WriteRegister(uint8_t reg, uint8_t val) {
.write_addr(kTouchWheelAddress, I2C_MASTER_WRITE)
.write_ack(maskedReg, val)
.stop();
ESP_ERROR_CHECK(transaction.Execute());
transaction.Execute();
// TODO(jacqueline): check for errors again when i find where all the ffc
// cables went q.q
// ESP_ERROR_CHECK(transaction.Execute());
}
uint8_t TouchWheel::ReadRegister(uint8_t reg) {

Loading…
Cancel
Save