diff options
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index b5c6364080..af84a46984 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -58,7 +58,7 @@ | |||
58 | #include "power.h" | 58 | #include "power.h" |
59 | #include "talk.h" | 59 | #include "talk.h" |
60 | #include "plugin.h" | 60 | #include "plugin.h" |
61 | 61 | #include "misc.h" | |
62 | 62 | ||
63 | #if (CONFIG_HWCODEC == MASNONE) | 63 | #if (CONFIG_HWCODEC == MASNONE) |
64 | #include "pcm_playback.h" | 64 | #include "pcm_playback.h" |
@@ -271,6 +271,9 @@ void init(void) | |||
271 | #if (CONFIG_HWCODEC == MASNONE) | 271 | #if (CONFIG_HWCODEC == MASNONE) |
272 | pcm_init(); | 272 | pcm_init(); |
273 | #endif | 273 | #endif |
274 | #ifdef HAVE_CHARGING | ||
275 | car_adapter_mode_init(); | ||
276 | #endif | ||
274 | } | 277 | } |
275 | 278 | ||
276 | int main(void) | 279 | int main(void) |