summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-04-19 10:27:33 +1000
committerjacqueline <me@jacqueline.id.au>2023-04-19 10:27:33 +1000
commit2a46eecdc6334c31cee2b40427d2536b48cbb6be (patch)
tree2d9cf3530b337f339cfc2368dc8f0ab1e8839d47 /src/drivers
parent35ecf8c49ba76922ca73f83c97a709a3329866f5 (diff)
downloadtangara-fw-2a46eecdc6334c31cee2b40427d2536b48cbb6be.tar.gz
Temporarily allow the touchwheel to be missing
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/touchwheel.cpp5
1 files changed, 4 insertions, 1 deletions
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) {