Merge branch 'fmuv2_bringup' into multirotor

This commit is contained in:
Lorenz Meier 2013-08-27 10:16:18 +02:00
commit 70c9d48f6c
1 changed files with 8 additions and 1 deletions

View File

@ -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