AP_RPM: add override keyword where required

This commit is contained in:
Peter Barker 2018-11-07 23:13:21 +11:00 committed by Andrew Tridgell
parent 327ccc8961
commit 34008ad29c
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ public:
~AP_RPM_PX4_PWM(void);
// update state
void update(void);
void update(void) override;
private:
int _fd = -1;

View File

@ -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: