summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c
index b5c6364..af84a46 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -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)