1
0
Fork 0
forked from len0rd/rockbox

Make mpegplayer sleep the disk after buffering to save battery. * Add a simulator stub for ata_sleep(), and un-ifdef most calls to it.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17096 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-04-13 12:24:47 +00:00
parent 4c5a735a02
commit 2bf4178018
6 changed files with 12 additions and 8 deletions

View file

@ -171,9 +171,7 @@ void load_settings(void){
draw_message(display, MESSAGE_ERRLOAD, 1);
display->update();
}
#ifndef SIMULATOR
rb->ata_sleep();
#endif
rb->sleep(HZ);
}