Merged PX4IO crc checks and force update

This commit is contained in:
Andrew Tridgell
2013-12-13 11:21:00 +01:00
committed by Lorenz Meier
parent 8f90efa312
commit 6016fbe55d
4 changed files with 78 additions and 2 deletions
+4 -1
View File
@@ -274,7 +274,10 @@ PX4IO_Uploader::drain()
int ret;
do {
ret = recv(c, 1000);
// the small recv timeout here is to allow for fast
// drain when rebooting the io board for a forced
// update of the fw without using the safety switch
ret = recv(c, 40);
#ifdef UDEBUG
if (ret == OK) {