Copter: update for new INS API

This commit is contained in:
Andrew Tridgell 2013-09-27 10:41:13 +10:00
parent 0518fd5d56
commit 394645560a

View File

@ -975,7 +975,7 @@ void loop()
// We want this to execute fast
// ----------------------------
if (ins.num_samples_available() >= 1) {
if (ins.sample_available()) {
// check loop time
perf_info_check_loop_time(timer - fast_loopTimer);