5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-13 11:28:30 -04:00

AP_RangeFinder: add missing overrides

This commit is contained in:
Lucas De Marchi 2019-09-20 09:58:21 -07:00 committed by Andrew Tridgell
parent 575200f8c7
commit 1eb2dc2b2f

View File

@ -92,11 +92,11 @@ public:
~AP_RangeFinder_Bebop(void); ~AP_RangeFinder_Bebop(void);
static bool detect(); static bool detect();
void update(void); void update(void) override;
protected: protected:
virtual MAV_DISTANCE_SENSOR _get_mav_distance_sensor_type() const { MAV_DISTANCE_SENSOR _get_mav_distance_sensor_type() const override {
return MAV_DISTANCE_SENSOR_LASER; return MAV_DISTANCE_SENSOR_LASER;
} }