|
|
@ -32,8 +32,6 @@ extern const AP_HAL::HAL& hal; |
|
|
|
void |
|
|
|
void |
|
|
|
AP_AHRS_MPU6000::init() |
|
|
|
AP_AHRS_MPU6000::init() |
|
|
|
{ |
|
|
|
{ |
|
|
|
bool timer_running = false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// suspend timer so interrupts on spi bus do not interfere with
|
|
|
|
// suspend timer so interrupts on spi bus do not interfere with
|
|
|
|
// communication to mpu6000
|
|
|
|
// communication to mpu6000
|
|
|
|
hal.scheduler->suspend_timer_procs(); |
|
|
|
hal.scheduler->suspend_timer_procs(); |
|
|
|