Version of USBDevice that works for KL25Z on Mbed OS2.
Fork of USBDevice by
Diff: USBHID/USBMouseKeyboard.cpp
- Revision:
- 47:a0cd9646ecd1
- Parent:
- 25:7c72828865f3
--- a/USBHID/USBMouseKeyboard.cpp Tue Mar 31 16:15:39 2015 +0100 +++ b/USBHID/USBMouseKeyboard.cpp Wed Apr 08 07:46:23 2015 +0100 @@ -548,7 +548,7 @@ return NULL; } -bool USBMouseKeyboard::EP1_OUT_callback() { +bool USBMouseKeyboard::EPINT_OUT_callback() { uint32_t bytesRead = 0; uint8_t led[65]; USBDevice::readEP(EPINT_OUT, led, &bytesRead, MAX_HID_REPORT_SIZE);