mirror of https://github.com/ArduPilot/ardupilot
Plane: use gcs_send_text_fmt() for SCHED_DEBUG timing
lets values be saved in mavlink logs
This commit is contained in:
parent
c87b0adc29
commit
79fa22e4ad
|
@ -1029,7 +1029,7 @@ static void one_second_loop()
|
|||
static void log_perf_info()
|
||||
{
|
||||
if (scheduler.debug() != 0) {
|
||||
hal.console->printf_P(PSTR("G_Dt_max=%lu\n"), (unsigned long)G_Dt_max);
|
||||
gcs_send_text_fmt(PSTR("G_Dt_max=%lu\n"), (unsigned long)G_Dt_max);
|
||||
}
|
||||
if (should_log(MASK_LOG_PM))
|
||||
Log_Write_Performance();
|
||||
|
|
Loading…
Reference in New Issue