Copter: use filtered loop time

This commit is contained in:
Andrew Tridgell 2018-02-10 12:20:17 +11:00
parent 80c45a7431
commit e0de4bccdf
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ void Copter::perf_update(void)
void Copter::loop() void Copter::loop()
{ {
scheduler.loop(); scheduler.loop();
G_Dt = scheduler.last_loop_time; G_Dt = scheduler.get_filtered_loop_time();
} }