AP_NavEKF2: Console output can be disabled

This commit is contained in:
murata 2022-03-21 18:36:27 +09:00 committed by Andrew Tridgell
parent 70f0636c90
commit c143fb0a5a
1 changed files with 1 additions and 1 deletions

View File

@ -598,7 +598,7 @@ void NavEKF2_core::UpdateFilter(bool predict)
static uint32_t timing_counter;
total_us += dal.micros() - timing_start_us;
if (timing_counter++ == 4000) {
hal.console->printf("ekf2 avg %.2f us\n", total_us / float(timing_counter));
DEV_PRINTF("ekf2 avg %.2f us\n", total_us / float(timing_counter));
total_us = 0;
timing_counter = 0;
}