AP_AHRS: use millis/micros/panic functions

This commit is contained in:
Caio Marcelo de Oliveira Filho 2015-11-20 12:06:43 +09:00 committed by Randy Mackay
parent 4ea45b8df1
commit 3a17c858e3

View File

@ -47,7 +47,7 @@ void loop(void)
{
static uint16_t counter;
static uint32_t last_t, last_print, last_compass;
uint32_t now = hal.scheduler->micros();
uint32_t now = AP_HAL::micros();
float heading = 0;
if (last_t == 0) {