USBDevice with compilation error in USBSerial fixed.

Fork of USBDevice by Maxim Integrated

Files at this revision

API Documentation at this revision

Comitter:
seanburford
Date:
Tue Nov 28 05:56:13 2017 +0000
Parent:
68:17ac7abb27a7
Commit message:
Fix compilation error when using USBSerial.

Changed in this revision

USBDevice/USBHAL_Maxim.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 17ac7abb27a7 -r 474b5edc50e0 USBDevice/USBHAL_Maxim.cpp
--- a/USBDevice/USBHAL_Maxim.cpp	Tue Jun 13 22:42:27 2017 +0000
+++ b/USBDevice/USBHAL_Maxim.cpp	Tue Nov 28 05:56:13 2017 +0000
@@ -141,7 +141,7 @@
 
     // attach IRQ handler and enable interrupts
     instance = this;
-    NVIC_SetVector(USB_IRQn, (uint32_t)&_usbisr);
+    NVIC_SetVector(USB_IRQn, &_usbisr);
     NVIC_EnableIRQ(USB_IRQn);
 }