summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/scroll_engine.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/scroll_engine.c b/firmware/scroll_engine.c
index d1bc2976a1..cb0051dac7 100644
--- a/firmware/scroll_engine.c
+++ b/firmware/scroll_engine.c
@@ -79,6 +79,10 @@ static bool scroll_process_message(int delay)
79{ 79{
80 struct queue_event ev; 80 struct queue_event ev;
81 81
82 /* just poll once for negative delays */
83 if (delay < 0)
84 delay = TIMEOUT_NOBLOCK;
85
82 do 86 do
83 { 87 {
84 long tick = current_tick; 88 long tick = current_tick;
@@ -199,4 +203,3 @@ void scroll_init(void)
199 IF_PRIO(, PRIORITY_USER_INTERFACE) 203 IF_PRIO(, PRIORITY_USER_INTERFACE)
200 IF_COP(, CPU)); 204 IF_COP(, CPU));
201} 205}
202