From 34008ad29c82e5d276b18abb35bbe8613fc88fe3 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Wed, 7 Nov 2018 23:13:21 +1100 Subject: [PATCH] AP_RPM: add override keyword where required --- libraries/AP_RPM/RPM_PX4_PWM.h | 2 +- libraries/AP_RPM/RPM_Pin.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_RPM/RPM_PX4_PWM.h b/libraries/AP_RPM/RPM_PX4_PWM.h index a86af95fd0..2e714f3aa2 100644 --- a/libraries/AP_RPM/RPM_PX4_PWM.h +++ b/libraries/AP_RPM/RPM_PX4_PWM.h @@ -29,7 +29,7 @@ public: ~AP_RPM_PX4_PWM(void); // update state - void update(void); + void update(void) override; private: int _fd = -1; diff --git a/libraries/AP_RPM/RPM_Pin.h b/libraries/AP_RPM/RPM_Pin.h index 2330557f26..160bb8a419 100644 --- a/libraries/AP_RPM/RPM_Pin.h +++ b/libraries/AP_RPM/RPM_Pin.h @@ -27,7 +27,7 @@ public: AP_RPM_Pin(AP_RPM &ranger, uint8_t instance, AP_RPM::RPM_State &_state); // update state - void update(void); + void update(void) override; private: