diff options
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index df250843e5..54787d6e9e 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -99,6 +99,10 @@ | |||
99 | #include "lcd-remote.h" | 99 | #include "lcd-remote.h" |
100 | #endif | 100 | #endif |
101 | 101 | ||
102 | #ifdef HAVE_USBSTACK | ||
103 | #include "usbstack.h" | ||
104 | #endif | ||
105 | |||
102 | #if CONFIG_USBOTG == USBOTG_ISP1362 | 106 | #if CONFIG_USBOTG == USBOTG_ISP1362 |
103 | #include "isp1362.h" | 107 | #include "isp1362.h" |
104 | #endif | 108 | #endif |
@@ -373,7 +377,10 @@ static void init(void) | |||
373 | #endif | 377 | #endif |
374 | 378 | ||
375 | adc_init(); | 379 | adc_init(); |
376 | 380 | ||
381 | #ifdef HAVE_USBSTACK | ||
382 | usb_stack_init(); | ||
383 | #endif | ||
377 | usb_init(); | 384 | usb_init(); |
378 | #if CONFIG_USBOTG == USBOTG_ISP1362 | 385 | #if CONFIG_USBOTG == USBOTG_ISP1362 |
379 | isp1362_init(); | 386 | isp1362_init(); |