remove casting to fix build error
Revision 70:2f8e3f5f75cf, committed 2021-07-16
- 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); }