diff options
author | Nico <NicoHood@users.noreply.github.com> | 2015-10-27 08:06:21 +0100 |
---|---|---|
committer | Cristian Maglie <c.maglie@arduino.cc> | 2015-10-30 12:58:14 +0100 |
commit | 7d012c11b8318be19b13acd483fdea81ee3ce540 (patch) | |
tree | 15a610813bab7f612821febb9147dcdea1a99655 /cores/arduino/PluggableUSB.cpp | |
parent | 1f318b08d4caf73f2b31faa42ef54de33b046f8e (diff) |
[PHID] send data if report ID was sent successful
If the first sending was not successful it is better to abort. Then we get a return value of -1 (instead of -2 if the 2nd call will also fail) and we do not need to block even longer, with another timeout.
Diffstat (limited to 'cores/arduino/PluggableUSB.cpp')
0 files changed, 0 insertions, 0 deletions