mirror of https://github.com/ArduPilot/ardupilot
ArduCopter : HAL_RCINPUT_WITH_AP_RADIO definition
This commit is contained in:
parent
797fc84e92
commit
aa8a90271e
|
@ -956,7 +956,7 @@ void ToyMode::handle_message(mavlink_message_t *msg)
|
|||
// immediately update AP_Notify recording flag
|
||||
AP_Notify::flags.video_recording = 1;
|
||||
} else if (strncmp(m.name, "WIFICHAN", 10) == 0) {
|
||||
#ifdef HAL_RCINPUT_WITH_AP_RADIO
|
||||
#if HAL_RCINPUT_WITH_AP_RADIO
|
||||
AP_Radio *radio = AP_Radio::instance();
|
||||
if (radio) {
|
||||
radio->set_wifi_channel(m.value);
|
||||
|
|
Loading…
Reference in New Issue