Sub: use scheduler.get_last_loop_time_s()

This commit is contained in:
Andrew Tridgell 2018-02-13 16:47:06 +11:00
parent e6cebdecd1
commit 59868f425e

View File

@ -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();
}