aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorDamien George2019-02-07 16:03:18 +1100
committerDamien George2019-02-07 16:03:18 +1100
commit9570297dd11949e9510468555daf8acafeee51da (patch)
tree303472a0b7f4fefe213c0b7ce796ea287489eab3 /ports
parent43a894fb4807ad9ec25569952c0dcd9fd5525a87 (diff)
stm32/mboot: Use USB HS as main USB device regardless of USB_HS_IN_FS.
Diffstat (limited to 'ports')
-rw-r--r--ports/stm32/mboot/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/mboot/main.c b/ports/stm32/mboot/main.c
index 70ea512ba..6113d80ef 100644
--- a/ports/stm32/mboot/main.c
+++ b/ports/stm32/mboot/main.c
@@ -62,7 +62,7 @@
#if !defined(MICROPY_HW_USB_MAIN_DEV)
#if MICROPY_HW_USB_FS
#define MICROPY_HW_USB_MAIN_DEV (USB_PHY_FS_ID)
-#elif MICROPY_HW_USB_HS && MICROPY_HW_USB_HS_IN_FS
+#elif MICROPY_HW_USB_HS
#define MICROPY_HW_USB_MAIN_DEV (USB_PHY_HS_ID)
#else
#error Unable to determine proper MICROPY_HW_USB_MAIN_DEV to use