From f3d0e8f98f2111ce41e076cfc927dce5705a6042 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 12 May 2023 14:12:23 +1000 Subject: Slightly improve touchwheel not-working-ness It still doesn't work tho --- src/drivers/include/touchwheel.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/drivers/include') diff --git a/src/drivers/include/touchwheel.hpp b/src/drivers/include/touchwheel.hpp index fae4b237..e55455be 100644 --- a/src/drivers/include/touchwheel.hpp +++ b/src/drivers/include/touchwheel.hpp @@ -31,16 +31,16 @@ class TouchWheel { TouchWheelData data_; enum Register { - FIRMWARE_VERSION = 0x1, - DETECTION_STATUS = 0x2, - KEY_STATUS_A = 0x3, - KEY_STATUS_B = 0x4, - SLIDER_POSITION = 0x5, - CALIBRATE = 0x6, - RESET = 0x7, - LOW_POWER = 0x8, - SLIDER_OPTIONS = 0x14, - CHARGE_TIME = 0x15, + FIRMWARE_VERSION = 1, + DETECTION_STATUS = 2, + KEY_STATUS_A = 3, + KEY_STATUS_B = 4, + SLIDER_POSITION = 5, + CALIBRATE = 6, + RESET = 7, + LOW_POWER = 8, + SLIDER_OPTIONS = 14, + CHARGE_TIME = 15, }; void WriteRegister(uint8_t reg, uint8_t val); -- cgit v1.2.3