Skip to content

Commit

Permalink
AP_Radio: add missing override keywords
Browse files Browse the repository at this point in the history
AP_Radio doesn't compile without these patches.
  • Loading branch information
peterbarker authored and tridge committed Aug 19, 2019
1 parent 4b870d7 commit 5f2dd57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libraries/AP_Radio/AP_Radio_cc2500.h
Expand Up @@ -70,7 +70,7 @@ class AP_Radio_cc2500 : public AP_Radio_backend
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;
}

Expand Down
2 changes: 1 addition & 1 deletion libraries/AP_Radio/AP_Radio_cypress.h
Expand Up @@ -71,7 +71,7 @@ class AP_Radio_cypress : public AP_Radio_backend
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;
}

Expand Down

0 comments on commit 5f2dd57

Please sign in to comment.