Skip to content

Commit 7a662b6

Browse files
committed
ArduCopter: move handling of AP_Radio RC input down into AP_RCProtocol
1 parent 8077cf8 commit 7a662b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ArduCopter/toy_mode.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -956,7 +956,7 @@ void ToyMode::handle_message(const mavlink_message_t &msg)
956956
// immediately update AP_Notify recording flag
957957
AP_Notify::flags.video_recording = true;
958958
} else if (strncmp(m.name, "WIFICHAN", 10) == 0) {
959-
#if HAL_RCINPUT_WITH_AP_RADIO
959+
#if AP_RADIO_ENABLED
960960
AP_Radio *radio = AP_Radio::get_singleton();
961961
if (radio) {
962962
radio->set_wifi_channel(m.value);

0 commit comments

Comments
 (0)