Prevent idle poweroff in the MIDI player
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13427 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
152fafe185
commit
a416cc981a
1 changed files with 3 additions and 0 deletions
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue