summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index 887c85b64e..307dd71e3d 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -36,6 +36,9 @@
36#ifndef SIMULATOR 36#ifndef SIMULATOR
37#include "dmalloc.h" 37#include "dmalloc.h"
38#include "bmalloc.h" 38#include "bmalloc.h"
39#ifndef DEBUG
40#include "serial.h"
41#endif
39#endif 42#endif
40#include "mpeg.h" 43#include "mpeg.h"
41#include "main_menu.h" 44#include "main_menu.h"
@@ -50,6 +53,7 @@
50#include "unicode.h" 53#include "unicode.h"
51#endif 54#endif
52 55
56
53char appsversion[]=APPSVERSION; 57char appsversion[]=APPSVERSION;
54 58
55void init(void); 59void init(void);
@@ -98,6 +102,8 @@ void init(void)
98 102
99#ifdef DEBUG 103#ifdef DEBUG
100 debug_init(); 104 debug_init();
105#else
106 serial_setup();
101#endif 107#endif
102 set_irq_level(0); 108 set_irq_level(0);
103 109