diff --git a/libraries/AC_PID/examples/AC_PID_test/AC_PID_test.cpp b/libraries/AC_PID/examples/AC_PID_test/AC_PID_test.cpp index 8def94d3cc..25fec3e14a 100644 --- a/libraries/AC_PID/examples/AC_PID_test/AC_PID_test.cpp +++ b/libraries/AC_PID/examples/AC_PID_test/AC_PID_test.cpp @@ -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]; }