forked from Archive/PX4-Autopilot
Merge branch 'fmuv2_bringup' into multirotor
This commit is contained in:
commit
70c9d48f6c
|
@ -146,7 +146,14 @@ out:
|
|||
int
|
||||
Airspeed::probe()
|
||||
{
|
||||
return measure();
|
||||
/* on initial power up the device needs more than one retry
|
||||
for detection. Once it is running then retries aren't
|
||||
needed
|
||||
*/
|
||||
_retries = 4;
|
||||
int ret = measure();
|
||||
_retries = 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in New Issue