summaryrefslogtreecommitdiff
path: root/apps/gui/list.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/list.c')
-rw-r--r--apps/gui/list.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 4d19bbdf96..38cecaefcc 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -1285,11 +1285,11 @@ bool simplelist_show_list(struct simplelist_info *info)
1285 gui_syncstatusbar_draw(&statusbars, true); 1285 gui_syncstatusbar_draw(&statusbars, true);
1286 list_do_action(CONTEXT_STD, info->timeout, 1286 list_do_action(CONTEXT_STD, info->timeout,
1287 &lists, &action, LIST_WRAP_UNLESS_HELD); 1287 &lists, &action, LIST_WRAP_UNLESS_HELD);
1288#ifdef SIMULATOR 1288
1289 /* Sim has no interrupts, so this is needed for buttons to be recognised */ 1289 /* We must yield in this case or no other thread can run */
1290 if (info->timeout == TIMEOUT_NOBLOCK) 1290 if (info->timeout == TIMEOUT_NOBLOCK)
1291 yield(); 1291 yield();
1292#endif 1292
1293 if (info->action_callback) 1293 if (info->action_callback)
1294 { 1294 {
1295 action = info->action_callback(action, &lists); 1295 action = info->action_callback(action, &lists);