remove casting to fix build error

Dependents:   RTC_Demo

Files at this revision

API Documentation at this revision

Comitter:
davidanasco
Date:
Fri Jul 16 08:28:53 2021 +0000
Parent:
69:dad310740b28
Commit message:
removed casting to fix build error

Changed in this revision

USBDevice/USBHAL_Maxim.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/USBDevice/USBHAL_Maxim.cpp	Tue Sep 11 15:17:01 2018 +0300
+++ b/USBDevice/USBHAL_Maxim.cpp	Fri Jul 16 08:28:53 2021 +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);
 }