aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/usb/usb.c
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2010-08-05 21:43:41 -0400
committerbnewbold <bnewbold@robocracy.org>2010-08-05 21:43:58 -0400
commitccd9833f264d6e20a9f2c81baebe162f07eec996 (patch)
treec6d1d3077cf92b864297bf74230221b90c01f34a /libmaple/usb/usb.c
parentd0e353ca9f3a0986c54beab3948117bdaade700e (diff)
downloadlibrambutan-ccd9833f264d6e20a9f2c81baebe162f07eec996.tar.gz
librambutan-ccd9833f264d6e20a9f2c81baebe162f07eec996.zip
Some refactoring
Diffstat (limited to 'libmaple/usb/usb.c')
-rw-r--r--libmaple/usb/usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libmaple/usb/usb.c b/libmaple/usb/usb.c
index 23cde00..026d7f0 100644
--- a/libmaple/usb/usb.c
+++ b/libmaple/usb/usb.c
@@ -118,7 +118,8 @@ void setupUSB (void) {
pRCC->APB1ENR |= 0x00800000;
/* initialize the usb application */
- gpio_write_bit(USB_DISC_BANK,USB_DISC_PIN,0); /* present ourselves to the host */
+ gpio_write_bit(USB_DISC_BANK, USB_DISC_PIN, 0); /* present ourselves to the host */
+
USB_Init(); /* low level init routine provided by st lib */
}