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
1 changed files with 2 additions and 2 deletions

View File

@ -92,11 +92,11 @@ public:
~AP_RangeFinder_Bebop(void);
static bool detect();
void update(void);
void update(void) override;
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;
}