From 2a46eecdc6334c31cee2b40427d2536b48cbb6be Mon Sep 17 00:00:00 2001 From: jacqueline Date: Wed, 19 Apr 2023 10:27:33 +1000 Subject: [PATCH] Temporarily allow the touchwheel to be missing --- src/drivers/touchwheel.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/drivers/touchwheel.cpp b/src/drivers/touchwheel.cpp index d5382b3d..51a67187 100644 --- a/src/drivers/touchwheel.cpp +++ b/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) {