Skip to content

Commit

Permalink
AP_RangeFinder: fix bebop rangefinder
Browse files Browse the repository at this point in the history
Fix Backend constructor call
  • Loading branch information
Julien Beraud authored and rmackay9 committed Dec 21, 2018
1 parent 85b83ed commit e165e9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_RangeFinder/AP_RangeFinder_Bebop.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e165e9c

Please sign in to comment.