MMlab / Mbed 2 deprecated PING_ultrasonic

Dependencies:   USBDevice mbed

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)