summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorailurux <ailurux@noreply.codeberg.org>2025-02-05 04:55:41 +0000
committerailurux <ailurux@noreply.codeberg.org>2025-02-05 04:55:41 +0000
commit342726a9fc432650adb2e2de16fed02654f4d30d (patch)
tree811cc15ce41b7a086bf6e82dd4cbbd9b9674f135 /src
parent508c8c79102c6d095f92eaf72f42d3f61ef5e7ba (diff)
parentebadc83f785da9a24cdcaba774613a1cebfb084d (diff)
downloadtangara-fw-342726a9fc432650adb2e2de16fed02654f4d30d.tar.gz
Merge branch 'main' into playlist-browser
Diffstat (limited to 'src')
-rw-r--r--src/tangara/input/input_touch_wheel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tangara/input/input_touch_wheel.cpp b/src/tangara/input/input_touch_wheel.cpp
index fba8a4cd..1aee6fae 100644
--- a/src/tangara/input/input_touch_wheel.cpp
+++ b/src/tangara/input/input_touch_wheel.cpp
@@ -54,7 +54,8 @@ TouchWheel::TouchWheel(drivers::NvsStorage& nvs, drivers::TouchWheel& wheel)
is_scrolling_(false),
threshold_(calculateThreshold(nvs.ScrollSensitivity())),
is_first_read_(true),
- last_angle_(0) {}
+ last_angle_(0),
+ last_wheel_touch_time_(0) {}
auto TouchWheel::read(lv_indev_data_t* data) -> void {
if (locked_) {