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 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() {
