mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 16:48:29 -04:00
Sub: use scheduler.get_last_loop_time_s()
This commit is contained in:
parent
e6cebdecd1
commit
59868f425e
@ -95,7 +95,7 @@ void Sub::setup()
|
||||
void Sub::loop()
|
||||
{
|
||||
scheduler.loop();
|
||||
G_Dt = scheduler.get_filtered_loop_time();
|
||||
G_Dt = scheduler.get_loop_period_s();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user