1
0
Fork 0
forked from len0rd/rockbox

Expose sys_poweroff() and cancel_shutdown() to RaaA. Hopefully fixes android build

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29485 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Thomas Jarosch 2011-03-01 20:31:20 +00:00
parent 0f68a91bc5
commit acd8bffb95
4 changed files with 3 additions and 16 deletions

View file

@ -71,12 +71,6 @@ bool debug_audio = false;
bool debug_wps = false;
int wps_verbose_level = 3;
void sys_poweroff(void)
{
/* Post SYS_POWEROFF event. Will post SDL_USEREVENT in shutdown_hw() if successful. */
queue_broadcast(SYS_POWEROFF, 0);
}
/*
* This thread will read the buttons in an interrupt like fashion, and
* also initializes SDL_INIT_VIDEO and the surfaces