mirror of https://github.com/ArduPilot/ardupilot
Copter: use filtered loop time
This commit is contained in:
parent
80c45a7431
commit
e0de4bccdf
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue