Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBDeviceHT by
Revision 6:c1f162fd7777, committed 2018-06-01
- Comitter:
- dev_alexander
- Date:
- Fri Jun 01 21:43:55 2018 +0000
- Parent:
- 4:b6be2a43cb85
- Commit message:
- Fixed Error with code not compiling due to an issue with there not being a (uint32_t) cast of a (void) pointer. Maxim was the only mbed vendor to not have this one (uint32_t) cast in the spot it was added to. Look into public repos for similar cases.
Changed in this revision
| targets/TARGET_Maxim/USBHAL_Maxim.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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);
}
