summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/ipod/button-1g-3g.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/ipod/button-1g-3g.c b/firmware/target/arm/ipod/button-1g-3g.c
index 044e887453..9eec8fd823 100644
--- a/firmware/target/arm/ipod/button-1g-3g.c
+++ b/firmware/target/arm/ipod/button-1g-3g.c
@@ -151,6 +151,9 @@ static void handle_scroll_wheel(int new_scroll, int was_hold)
151 if (v < WHEEL_SMOOTHING_VELOCITY) { 151 if (v < WHEEL_SMOOTHING_VELOCITY) {
152 /* very slow - no smoothing */ 152 /* very slow - no smoothing */
153 wheel_velocity = v; 153 wheel_velocity = v;
154 /* ensure backlight never gets stuck for an extended period if tick
155 * wrapped such that next poke is very far ahead */
156 next_backlight_on = current_tick - 1;
154 } 157 }
155 else { 158 else {
156 /* some velocity filtering to smooth things out */ 159 /* some velocity filtering to smooth things out */