aboutsummaryrefslogtreecommitdiffstats
path: root/wirish/stm32f1
diff options
context:
space:
mode:
Diffstat (limited to 'wirish/stm32f1')
-rw-r--r--wirish/stm32f1/boards_setup.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/wirish/stm32f1/boards_setup.cpp b/wirish/stm32f1/boards_setup.cpp
index 74c0e79..a71661d 100644
--- a/wirish/stm32f1/boards_setup.cpp
+++ b/wirish/stm32f1/boards_setup.cpp
@@ -87,7 +87,9 @@ namespace wirish {
void board_setup_usb(void) {
#if 0
+# if STM32_HAVE_USB
usb_cdcacm_enable(BOARD_USB_DISC_DEV, BOARD_USB_DISC_BIT);
+# endif
#endif
}