GCS_MAVLink: send rc output mode banner to GCS

This commit is contained in:
Randy Mackay 2020-01-28 17:29:01 +09:00
parent 95ec629923
commit 4b684085cc

View File

@ -3288,6 +3288,12 @@ void GCS_MAVLINK::send_banner()
if (hal.util->get_system_id(sysid)) {
send_text(MAV_SEVERITY_INFO, "%s", sysid);
}
// send RC output mode info if available
char banner_msg[50];
if (hal.rcout->get_output_mode_banner(banner_msg, sizeof(banner_msg))) {
send_text(MAV_SEVERITY_INFO, "%s", banner_msg);
}
}