mirror of https://github.com/ArduPilot/ardupilot
AP_RangeFinder: fix bebop rangefinder
Fix Backend constructor call
This commit is contained in:
parent
85b83ed6af
commit
e165e9c323
|
@ -63,7 +63,7 @@ static const uint16_t waveform_mode1[32] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
AP_RangeFinder_Bebop::AP_RangeFinder_Bebop(RangeFinder::RangeFinder_State &_state) :
|
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)))
|
_thread(new Linux::Thread(FUNCTOR_BIND_MEMBER(&AP_RangeFinder_Bebop::_loop, void)))
|
||||||
{
|
{
|
||||||
_init();
|
_init();
|
||||||
|
|
Loading…
Reference in New Issue