I changed one line of code in the file with path name: USBDeviceHT/targets/TARGET_Maxim

Fork of USBDeviceHT by Helmut Tschemernjak

Revision:
6:c1f162fd7777
Parent:
0:a3ea811f80f2
--- a/targets/TARGET_Maxim/USBHAL_Maxim.cpp	Fri Feb 23 12:48:37 2018 +0000
+++ b/targets/TARGET_Maxim/USBHAL_Maxim.cpp	Fri Jun 01 21:43:55 2018 +0000
@@ -138,7 +138,7 @@
 
     // attach IRQ handler and enable interrupts
     instance = this;
-    NVIC_SetVector(USB_IRQn, &_usbisr);
+    NVIC_SetVector(USB_IRQn, (uint32_t)&_usbisr);
     NVIC_EnableIRQ(USB_IRQn);
 }