Index: apps/gui/splash.c =================================================================== --- apps/gui/splash.c (revision 21309) +++ apps/gui/splash.c (working copy) @@ -29,6 +29,7 @@ #include "talk.h" #include "splash.h" #include "viewport.h" +#include "button.h" #ifdef HAVE_LCD_BITMAP @@ -220,7 +221,15 @@ va_end(ap); } if (ticks) - sleep(ticks); + { + int timeout = current_tick+ticks; + while (TIME_BEFORE(current_tick, timeout)) + { + if (button_queue_count() != 0) + break; + sleep(1); + } + } } void splash(int ticks, const char *str)