stm32/mboot: Use USB HS as main USB device regardless of USB_HS_IN_FS.

This commit is contained in:
Damien George 2019-02-07 16:03:18 +11:00
parent 43a894fb48
commit 9570297dd1

View File

@ -62,7 +62,7 @@
#if !defined(MICROPY_HW_USB_MAIN_DEV) #if !defined(MICROPY_HW_USB_MAIN_DEV)
#if MICROPY_HW_USB_FS #if MICROPY_HW_USB_FS
#define MICROPY_HW_USB_MAIN_DEV (USB_PHY_FS_ID) #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) #define MICROPY_HW_USB_MAIN_DEV (USB_PHY_HS_ID)
#else #else
#error Unable to determine proper MICROPY_HW_USB_MAIN_DEV to use #error Unable to determine proper MICROPY_HW_USB_MAIN_DEV to use