From 59868f425e8443037f57f92423a4a9ee594ee983 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 13 Feb 2018 16:47:06 +1100 Subject: [PATCH] Sub: use scheduler.get_last_loop_time_s() --- ArduSub/ArduSub.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduSub/ArduSub.cpp b/ArduSub/ArduSub.cpp index e823baece1..bbbec9ad8f 100644 --- a/ArduSub/ArduSub.cpp +++ b/ArduSub/ArduSub.cpp @@ -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(); }