AC_Sprayer: use millis/micros/panic functions

This commit is contained in:
Caio Marcelo de Oliveira Filho 2015-11-20 12:05:39 +09:00 committed by Randy Mackay
parent ccd03bcf60
commit 70d0ea9151
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ AC_Sprayer::update()
ground_speed = pythagorous2(velocity.x,velocity.y); ground_speed = pythagorous2(velocity.x,velocity.y);
// get the current time // get the current time
now = hal.scheduler->millis(); now = AP_HAL::millis();
// check our speed vs the minimum // check our speed vs the minimum
if (ground_speed >= _speed_min) { if (ground_speed >= _speed_min) {