USB device stack
Dependents: blinky_max32630fthr FTHR_USB_serial FTHR_OLED HSP_RPC_GUI_3_0_1 ... more
Fork of USBDevice by
Diff: USBDevice/USBHAL_Maxim.cpp
- Revision:
- 68:17ac7abb27a7
- Parent:
- 67:8ca8b458434a
--- a/USBDevice/USBHAL_Maxim.cpp Mon Jun 12 23:05:18 2017 +0000
+++ b/USBDevice/USBHAL_Maxim.cpp Tue Jun 13 22:42:27 2017 +0000
@@ -141,11 +141,7 @@
// attach IRQ handler and enable interrupts
instance = this;
-#if defined(TARGET_MAX32620C) || defined(TARGET_MAX32625) || defined(TARGET_MAX32630)
- NVIC_SetVector(USB_IRQn, _usbisr);
-#else
NVIC_SetVector(USB_IRQn, (uint32_t)&_usbisr);
-#endif
NVIC_EnableIRQ(USB_IRQn);
}
