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.
Diff: USBJoysteck.cpp
- Revision:
- 10:db099ac191e8
- Parent:
- 8:59dd4860477f
- Child:
- 13:a06ce818a615
--- a/USBJoysteck.cpp Tue Sep 27 13:44:00 2016 +0000 +++ b/USBJoysteck.cpp Wed Oct 05 06:58:30 2016 +0000 @@ -53,7 +53,7 @@ report.data[4] = ((_button & 0x0f) << 4) | (_hat & 0x0f) ; report.length = 5; - return send(&report); + return sendNB(&report); } bool USBJoystick::throttle(int16_t t)