forked from Archive/PX4-Autopilot
Reset performance counters on arming to allow better resolution during flight
This commit is contained in:
parent
17a1c986c2
commit
5bc2b34e48
|
@ -628,6 +628,9 @@ void sdlog2_start_log()
|
|||
perf_print_all(perf_fd);
|
||||
close(perf_fd);
|
||||
|
||||
/* reset performance counters to get in-flight min and max values in post flight log */
|
||||
perf_reset_all();
|
||||
|
||||
logging_enabled = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue