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:
Linus Nielsen Feltzing 2007-05-19 20:37:02 +00:00
parent 152fafe185
commit a416cc981a

View file

@ -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))
{