diff options
| author | Marti Bolivar <mbolivar@leaflabs.com> | 2011-06-15 16:29:19 -0400 |
|---|---|---|
| committer | Marti Bolivar <mbolivar@leaflabs.com> | 2011-10-18 13:30:17 -0400 |
| commit | 545aae44598e50f595700790259f8a4683dfbaa0 (patch) | |
| tree | 9accce7b55bb9b680f4dee2010087eb3b566b248 /wirish/boards.cpp | |
| parent | 3b9f0a03bfb719c84a2239c064b51050fddcb6a6 (diff) | |
usb: Move some board-specific configuration to Wirish.
Create new BOARD_USB_DISC_DEV and BOARD_USB_DISC_BIT board-specific
values. Use these as arguments to setupUSB() and disableUSB(). This
helps make the USB stack more generic, and goes towards the resolution
of an important FIXME.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/boards.cpp')
| -rw-r--r-- | wirish/boards.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wirish/boards.cpp b/wirish/boards.cpp index 5cdc4d1..1b921ac 100644 --- a/wirish/boards.cpp +++ b/wirish/boards.cpp @@ -58,7 +58,7 @@ void init(void) { afio_init(); setupADC(); setupTimers(); - setupUSB(); + setupUSB(BOARD_USB_DISC_DEV, BOARD_USB_DISC_BIT); boardInit(); } |
