diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-04-19 10:27:33 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-04-19 10:27:33 +1000 |
| commit | 2a46eecdc6334c31cee2b40427d2536b48cbb6be (patch) | |
| tree | 2d9cf3530b337f339cfc2368dc8f0ab1e8839d47 /src/drivers | |
| parent | 35ecf8c49ba76922ca73f83c97a709a3329866f5 (diff) | |
| download | tangara-fw-2a46eecdc6334c31cee2b40427d2536b48cbb6be.tar.gz | |
Temporarily allow the touchwheel to be missing
Diffstat (limited to 'src/drivers')
| -rw-r--r-- | src/drivers/touchwheel.cpp | 5 |
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) { |
