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) #endif rb->yield(); + /* Prevent idle poweroff */ + rb->reset_poweroff_timer(); + /* Code taken from Oscilloscope plugin */ switch(rb->button_get(false)) { |