diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-09-04 09:47:22 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-09-04 09:47:22 +1000 |
| commit | cccee29c3a6202a7c79bc9bc6d70287528a13ef0 (patch) | |
| tree | 14fe565bdefd91d97cbdb83f157a2e9f0fe4aa58 /src/drivers/touchwheel.cpp | |
| parent | 320fdeb9d8355d3c361d5c6d60de8afc64501af9 (diff) | |
| download | tangara-fw-cccee29c3a6202a7c79bc9bc6d70287528a13ef0.tar.gz | |
Turn the touchwheel back on after sleep
Diffstat (limited to 'src/drivers/touchwheel.cpp')
| -rw-r--r-- | src/drivers/touchwheel.cpp | 2 |
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); |
