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:
parent
3b853c692e
commit
3d2178148b
8 changed files with 77 additions and 60 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue