mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-07 00:13:59 -04:00
Copter: unify singleton naming to _singleton and get_singleton()
This commit is contained in:
parent
3415d309ea
commit
b8ee535fb4
@ -957,7 +957,7 @@ void ToyMode::handle_message(mavlink_message_t *msg)
|
||||
AP_Notify::flags.video_recording = 1;
|
||||
} else if (strncmp(m.name, "WIFICHAN", 10) == 0) {
|
||||
#if HAL_RCINPUT_WITH_AP_RADIO
|
||||
AP_Radio *radio = AP_Radio::instance();
|
||||
AP_Radio *radio = AP_Radio::get_singleton();
|
||||
if (radio) {
|
||||
radio->set_wifi_channel(m.value);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user