USB device stack that isn't working
Fork of USBDevice by
Revision 73:6fb59df5258d, committed 2018-01-13
- Comitter:
- lukeoftheaura
- Date:
- Sat Jan 13 20:10:33 2018 +0000
- Parent:
- 72:330159d8553d
- Commit message:
- ]]]]]]]]]]]]]]]]]]]]]]]]]]; ;
Changed in this revision
USBHID/USBKeyboard.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBHID/USBKeyboard.cpp Fri Jan 12 19:11:17 2018 +0000 +++ b/USBHID/USBKeyboard.cpp Sat Jan 13 20:10:33 2018 +0000 @@ -481,7 +481,10 @@ report.data[7] = 0; report.data[8] = 0; - return send(&report); + if (!send(&report)) { + return false; + } + return true; } bool USBKeyboard::keyRelease() {