From 70d0ea915102d2f6b7e9b33a3dd6396f608395be Mon Sep 17 00:00:00 2001 From: Caio Marcelo de Oliveira Filho Date: Fri, 20 Nov 2015 12:05:39 +0900 Subject: [PATCH] AC_Sprayer: use millis/micros/panic functions --- libraries/AC_Sprayer/AC_Sprayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AC_Sprayer/AC_Sprayer.cpp b/libraries/AC_Sprayer/AC_Sprayer.cpp index 269450416f..731976d512 100644 --- a/libraries/AC_Sprayer/AC_Sprayer.cpp +++ b/libraries/AC_Sprayer/AC_Sprayer.cpp @@ -116,7 +116,7 @@ AC_Sprayer::update() ground_speed = pythagorous2(velocity.x,velocity.y); // get the current time - now = hal.scheduler->millis(); + now = AP_HAL::millis(); // check our speed vs the minimum if (ground_speed >= _speed_min) {