summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
authorChristian Gmeiner <christian.gmeiner@gmail.com>2007-08-27 16:04:32 +0000
committerChristian Gmeiner <christian.gmeiner@gmail.com>2007-08-27 16:04:32 +0000
commit8181a0c905a591caef684a2d7487feedbec84c10 (patch)
tree3939183e8e73928d1b5dcfc97b40f33b6baa309b /apps/main.c
parent9305c86f5b8fdfd60882428f884ba29bded8da78 (diff)
downloadrockbox-8181a0c905a591caef684a2d7487feedbec84c10.tar.gz
rockbox-8181a0c905a591caef684a2d7487feedbec84c10.zip
Usb Stack: only setup packet handling, and not enabled by default as there is a lot to do.
* settings code is not fully ready -> changing device driver has no effect * clean ups * check copyriths * find a way to detect IN transfers * support for full and highspeed * ... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14470 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c9
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();