diff options
| author | Damien George | 2019-02-07 16:09:08 +1100 |
|---|---|---|
| committer | Damien George | 2019-02-07 16:09:08 +1100 |
| commit | 9f9c5c19b0a923741db342bf1e4505851554ee89 (patch) | |
| tree | d177c95a520f1c149964ede15e2f42346b2e3b85 | |
| parent | 03a8b1cc5033f78b9d7ed991a02cb5ab78cbeccc (diff) | |
stm32/usb: Use USB HS as main USB device regardless of USB_HS_IN_FS.
| -rw-r--r-- | ports/stm32/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/usb.c b/ports/stm32/usb.c index a5be6cd77..1ff62b4ab 100644 --- a/ports/stm32/usb.c +++ b/ports/stm32/usb.c @@ -48,7 +48,7 @@ #if !defined(MICROPY_HW_USB_MAIN_DEV) #if defined(MICROPY_HW_USB_FS) #define MICROPY_HW_USB_MAIN_DEV (USB_PHY_FS_ID) -#elif defined(MICROPY_HW_USB_HS) && defined(MICROPY_HW_USB_HS_IN_FS) +#elif defined(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 |
