summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-09-04 09:47:22 +1000
committerjacqueline <me@jacqueline.id.au>2023-09-04 09:47:22 +1000
commitcccee29c3a6202a7c79bc9bc6d70287528a13ef0 (patch)
tree14fe565bdefd91d97cbdb83f157a2e9f0fe4aa58 /src/drivers
parent320fdeb9d8355d3c361d5c6d60de8afc64501af9 (diff)
downloadtangara-fw-cccee29c3a6202a7c79bc9bc6d70287528a13ef0.tar.gz
Turn the touchwheel back on after sleep
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/touchwheel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/drivers/touchwheel.cpp b/src/drivers/touchwheel.cpp
index 836e688a..c617e5df 100644
--- a/src/drivers/touchwheel.cpp
+++ b/src/drivers/touchwheel.cpp
@@ -38,6 +38,8 @@ TouchWheel::TouchWheel() {
};
gpio_config(&int_config);
+ WriteRegister(LOW_POWER, 1);
+
// Configure keys 0, 1, and 2 as a wheel.
WriteRegister(SLIDER_OPTIONS, 0b11000000);