1
0
Fork 0
forked from len0rd/rockbox

Moved the car adapter mode handling to apps/, now every thread gets SYS_CHARGER_CONNECTED and SYS_CHARGER_DISCONNECTED events

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6255 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Linus Nielsen Feltzing 2005-04-06 11:12:22 +00:00
parent 3b853c692e
commit 3d2178148b
8 changed files with 77 additions and 60 deletions

View file

@ -58,7 +58,7 @@
#include "power.h"
#include "talk.h"
#include "plugin.h"
#include "misc.h"
#if (CONFIG_HWCODEC == MASNONE)
#include "pcm_playback.h"
@ -271,6 +271,9 @@ void init(void)
#if (CONFIG_HWCODEC == MASNONE)
pcm_init();
#endif
#ifdef HAVE_CHARGING
car_adapter_mode_init();
#endif
}
int main(void)