mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: updates for AP_HAL::MemberProc
This commit is contained in:
parent
a86bb15a05
commit
c04d9b0c03
|
@ -264,7 +264,7 @@ bool AP_Baro_MS5611::init()
|
|||
_d1_count = 0;
|
||||
_d2_count = 0;
|
||||
|
||||
hal.scheduler->register_timer_process( reinterpret_cast<AP_HAL::TimedProc>(&AP_Baro_MS5611::_update), this );
|
||||
hal.scheduler->register_timer_process( AP_HAL_MEMBERPROC(&AP_Baro_MS5611::_update));
|
||||
_serial->sem_give();
|
||||
|
||||
// wait for at least one value to be read
|
||||
|
|
Loading…
Reference in New Issue