mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-04 07:50:56 +08:00
fix warning (mavlink): connection to gcs
This commit is contained in:
1 parent
2eed5306c0
commit
5910f8982a
1 file changed
+1
-1
@@ -119,7 +119,7 @@ void RcAndDataLinkChecks::checkAndReport(const Context &context, Report &reporte
|
||||
events::ID("check_rc_dl_no_dllink"),
|
||||
log_level, "No connection to the ground control station");
|
||||
|
||||
if (reporter.mavlink_log_pub()) {
|
||||
if (gcs_connection_required && reporter.mavlink_log_pub()) {
|
||||
mavlink_log_warning(reporter.mavlink_log_pub(), "Preflight Fail: No connection to the ground control station\t");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user