summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c
index caf08e131d..3286760aa6 100644
--- a/firmware/drivers/button.c
+++ b/firmware/drivers/button.c
@@ -272,7 +272,7 @@ void handle_scroll_wheel(int new_scroll, int was_hold, int reverse)
}
}
}
- if (wheel_keycode != BUTTON_NONE)
+ if (wheel_keycode != BUTTON_NONE && queue_empty(&button_queue))
queue_post(&button_queue, wheel_keycode, NULL);
prev_scroll = new_scroll;
}