diff --git a/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.h b/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.h index b053cd7e32..c907cebc05 100644 --- a/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.h +++ b/libraries/AP_RangeFinder/AP_RangeFinder_Bebop.h @@ -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; }