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.
Dependents: frdm_Slider_Keyboard idd_hw2_figlax_PanType idd_hw2_appachu_finger_chording idd_hw3_AngieWangAntonioDeLimaFernandesDanielLim_BladeSymphony ... more
Fork of USBDevice by
Diff: USBDevice/USBHAL_KL25Z.cpp
- Revision:
- 13:16731886c049
- Parent:
- 9:354942d2fa38
- Child:
- 14:d495202c90f4
--- a/USBDevice/USBHAL_KL25Z.cpp Thu Aug 08 15:56:46 2013 +0100
+++ b/USBDevice/USBHAL_KL25Z.cpp Tue Sep 10 15:14:55 2013 +0300
@@ -75,7 +75,7 @@
static uint32_t Data1 = 0x55555555;
static uint32_t frameNumber() {
- return((USB0->FRMNUML | (USB0->FRMNUMH << 8) & 0x07FF));
+ return((USB0->FRMNUML | (USB0->FRMNUMH << 8)) & 0x07FF);
}
uint32_t USBHAL::endpointReadcore(uint8_t endpoint, uint8_t *buffer) {
