diff --git a/libraries/AP_Radio/AP_Radio_cc2500.h b/libraries/AP_Radio/AP_Radio_cc2500.h index 2bf51d2097..113ae3b4ab 100644 --- a/libraries/AP_Radio/AP_Radio_cc2500.h +++ b/libraries/AP_Radio/AP_Radio_cc2500.h @@ -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; } diff --git a/libraries/AP_Radio/AP_Radio_cypress.h b/libraries/AP_Radio/AP_Radio_cypress.h index 30eac3ab4e..a08fd86bb7 100644 --- a/libraries/AP_Radio/AP_Radio_cypress.h +++ b/libraries/AP_Radio/AP_Radio_cypress.h @@ -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; }