forked from Archive/PX4-Autopilot
Merge branch '#78-px4io-firmware-updater' of github.com:PX4/Firmware into sbus
This commit is contained in:
commit
401c54bdd3
|
@ -189,8 +189,10 @@ PX4IO_Uploader::drain()
|
|||
int ret;
|
||||
|
||||
do {
|
||||
ret = recv(c, 10);
|
||||
//log("discard 0x%02x", c);
|
||||
ret = recv(c, 250);
|
||||
if (ret == OK) {
|
||||
//log("discard 0x%02x", c);
|
||||
}
|
||||
} while (ret == OK);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue