diff options
-rw-r--r-- | firmware/target/coldfire/mpio/hd300/button-hd300.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/target/coldfire/mpio/hd300/button-hd300.c b/firmware/target/coldfire/mpio/hd300/button-hd300.c index 95de05cbcf..5c817e92bd 100644 --- a/firmware/target/coldfire/mpio/hd300/button-hd300.c +++ b/firmware/target/coldfire/mpio/hd300/button-hd300.c | |||
@@ -38,7 +38,10 @@ static volatile struct scroll_state_t { | |||
38 | signed char dir; | 38 | signed char dir; |
39 | long timeout; | 39 | long timeout; |
40 | bool rel; | 40 | bool rel; |
41 | } scroll; | 41 | } scroll = { .dir = BUTTON_UP, |
42 | .timeout = SLIDER_REL_TIMEOUT, | ||
43 | .rel = false, | ||
44 | }; | ||
42 | 45 | ||
43 | static inline void disable_scrollstrip_interrupts(void) | 46 | static inline void disable_scrollstrip_interrupts(void) |
44 | { | 47 | { |