mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 03:30:14 +01:00
stm32/usb: Use USB HS as main USB device regardless of USB_HS_IN_FS.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user