diff --git a/libraries/AP_OpticalFlow/AP_OpticalFlow_Onboard.h b/libraries/AP_OpticalFlow/AP_OpticalFlow_Onboard.h index 30487b87d1..75d3c4a013 100644 --- a/libraries/AP_OpticalFlow/AP_OpticalFlow_Onboard.h +++ b/libraries/AP_OpticalFlow/AP_OpticalFlow_Onboard.h @@ -25,8 +25,8 @@ class AP_OpticalFlow_Onboard : public OpticalFlow_backend { public: AP_OpticalFlow_Onboard(OpticalFlow &_frontend); - void init(void); - void update(void); + void init(void) override; + void update(void) override; private: uint32_t _last_read_ms; };