diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-05-19 20:37:02 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-05-19 20:37:02 +0000 |
commit | a416cc981a14f581ce11035c9796c502495779a3 (patch) | |
tree | e0032af59ba3c6711dac441ca6bfe38bbd78bbf7 | |
parent | 152fafe185ba03b2b5856da591cd053e6617edfa (diff) | |
download | rockbox-a416cc981a14f581ce11035c9796c502495779a3.tar.gz rockbox-a416cc981a14f581ce11035c9796c502495779a3.zip |
Prevent idle poweroff in the MIDI player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13427 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/midiplay.c | 3 |
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) | |||
277 | #endif | 277 | #endif |
278 | rb->yield(); | 278 | rb->yield(); |
279 | 279 | ||
280 | /* Prevent idle poweroff */ | ||
281 | rb->reset_poweroff_timer(); | ||
282 | |||
280 | /* Code taken from Oscilloscope plugin */ | 283 | /* Code taken from Oscilloscope plugin */ |
281 | switch(rb->button_get(false)) | 284 | switch(rb->button_get(false)) |
282 | { | 285 | { |