mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-23 00:04:02 -04:00
Copter: update for new INS API
This commit is contained in:
parent
0518fd5d56
commit
394645560a
@ -975,7 +975,7 @@ void loop()
|
|||||||
|
|
||||||
// We want this to execute fast
|
// We want this to execute fast
|
||||||
// ----------------------------
|
// ----------------------------
|
||||||
if (ins.num_samples_available() >= 1) {
|
if (ins.sample_available()) {
|
||||||
|
|
||||||
// check loop time
|
// check loop time
|
||||||
perf_info_check_loop_time(timer - fast_loopTimer);
|
perf_info_check_loop_time(timer - fast_loopTimer);
|
||||||
|
Loading…
Reference in New Issue
Block a user