From 3175a2ce193ef017008a88891ffbe37d09bb1d95 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 16 Apr 2019 14:12:54 +1000 Subject: [PATCH] AC_PID: correct examples with override keyword --- libraries/AC_PID/examples/AC_PID_test/AC_PID_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; }