AP_RangeFinder: fix bebop rangefinder

Fix Backend constructor call
This commit is contained in:
Julien Beraud 2018-12-21 17:01:28 +01:00 committed by Randy Mackay
parent 85b83ed6af
commit e165e9c323
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ static const uint16_t waveform_mode1[32] = {
};
AP_RangeFinder_Bebop::AP_RangeFinder_Bebop(RangeFinder::RangeFinder_State &_state) :
AP_RangeFinder_Backend(_state, MAV_DISTANCE_SENSOR_ULTRASOUND),
AP_RangeFinder_Backend(_state),
_thread(new Linux::Thread(FUNCTOR_BIND_MEMBER(&AP_RangeFinder_Bebop::_loop, void)))
{
_init();