mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #12217 from OpenNuvoton/nuvoton_usbd
Nuvoton: Add DEVICE_USBDEVICE detection in usbd implementationpull/12254/head
commit
40b7901cfb
|
@ -37,6 +37,7 @@ static USBPhyHw *instance;
|
|||
#define MBED_CONF_TARGET_USB_DEVICE_HSUSBD 1 /* USB 2.0 Only */
|
||||
#endif
|
||||
|
||||
#if defined(DEVICE_USBDEVICE) && (DEVICE_USBDEVICE == 1)
|
||||
|
||||
extern "C" void USBD_IRQHandler(void);
|
||||
|
||||
|
@ -2374,3 +2375,5 @@ extern "C" void USBD_IRQHandler(void)
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue