Skip to content
Snippets Groups Projects
Commit 1ccd6bb7 authored by Andrew Tridgell's avatar Andrew Tridgell
Browse files

AP_Compass: don't wait more than 1ms for compass sample

this prevents 5ms delays in compass accumulate
parent 42255ebb
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ void AP_Compass_HMC5843::accumulate(void)
return;
}
if (!_i2c_sem->take(5)) {
if (!_i2c_sem->take(1)) {
// the bus is busy - try again later
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment