5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-02-26 01:33:56 -04:00

AC_PID: correct examples with override keyword

This commit is contained in:
Peter Barker 2019-04-16 14:12:54 +10:00 committed by Andrew Tridgell
parent 790c566396
commit 3175a2ce19

View File

@ -27,7 +27,7 @@ class RC_Channel_PIDTest : public RC_Channel
class RC_Channels_PIDTest : public RC_Channels
{
public:
RC_Channel *channel(uint8_t chan) {
RC_Channel *channel(uint8_t chan) override {
return &obj_channels[chan];
}