mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-26 01:33:56 -04:00
AP_InertialSensor: updates for AP_HAL::MemberProc
This commit is contained in:
parent
942ae70651
commit
dda68bddcb
@ -228,7 +228,7 @@ uint16_t AP_InertialSensor_MPU6000::_init_sensor( Sample_rate sample_rate )
|
||||
_read_data_transaction();
|
||||
|
||||
// start the timer process to read samples
|
||||
hal.scheduler->register_timer_process(reinterpret_cast<AP_HAL::TimedProc>(&AP_InertialSensor_MPU6000::_poll_data), this);
|
||||
hal.scheduler->register_timer_process(AP_HAL_MEMBERPROC(&AP_InertialSensor_MPU6000::_poll_data));
|
||||
|
||||
#if MPU6000_DEBUG
|
||||
_dump_registers();
|
||||
|
Loading…
Reference in New Issue
Block a user