Skip to content
This repository was archived by the owner on Oct 1, 2021. It is now read-only.

Commit 4569450

Browse files
author
Andrew Tridgell
committed
airspeed: raise retries to 2
we're still getting occasional airspeed dropouts with it at 1, even with reasonable cabling. Raising it to 2 should fix this.
1 parent b6b16e6 commit 4569450

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/drivers/airspeed/airspeed.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ Airspeed::probe()
166166
_retries = 4;
167167
int ret = measure();
168168

169-
// drop back to 1 retry once initialised
170-
_retries = 1;
169+
// drop back to 2 retries once initialised
170+
_retries = 2;
171171
return ret;
172172
}
173173

0 commit comments

Comments
 (0)