forked from Archive/PX4-Autopilot
I2C airspeed driver needs 2 retries
this prevents I2C transfer errors every few seconds with the meas_airspeed driver
This commit is contained in:
parent
935ed2fe49
commit
76a9e34e08
|
@ -157,7 +157,7 @@ Airspeed::probe()
|
||||||
*/
|
*/
|
||||||
_retries = 4;
|
_retries = 4;
|
||||||
int ret = measure();
|
int ret = measure();
|
||||||
_retries = 0;
|
_retries = 2;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue