AP_Radio: add missing override keywords

AP_Radio doesn't compile without these patches.
This commit is contained in:
Peter Barker 2019-08-19 09:57:31 +10:00 committed by Andrew Tridgell
parent 4b870d752f
commit 5f2dd57cca
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ public:
const AP_Radio::stats &get_stats(void) override;
// set the 2.4GHz wifi channel used by companion computer, so it can be avoided
void set_wifi_channel(uint8_t channel) {
void set_wifi_channel(uint8_t channel) override {
// t_status.wifi_chan = channel;
}

View File

@ -71,7 +71,7 @@ public:
const AP_Radio::stats &get_stats(void) override;
// set the 2.4GHz wifi channel used by companion computer, so it can be avoided
void set_wifi_channel(uint8_t channel) {
void set_wifi_channel(uint8_t channel) override {
t_status.wifi_chan = channel;
}