summaryrefslogtreecommitdiffstats
path: root/apps/plugins/midiplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/midiplay.c')
-rw-r--r--apps/plugins/midiplay.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/midiplay.c b/apps/plugins/midiplay.c
index 8d8b7833af..3feec0fca7 100644
--- a/apps/plugins/midiplay.c
+++ b/apps/plugins/midiplay.c
@@ -277,6 +277,9 @@ int midimain(void * filename)
#endif
rb->yield();
+ /* Prevent idle poweroff */
+ rb->reset_poweroff_timer();
+
/* Code taken from Oscilloscope plugin */
switch(rb->button_get(false))
{