From 55a9f0d9e2c05cda3952db7979185107c5aa0dad Mon Sep 17 00:00:00 2001 From: muramura Date: Sun, 19 May 2024 12:04:11 +0900 Subject: [PATCH] GCS_MAVLink: Notify access from an invalid system ID --- libraries/GCS_MAVLink/GCS_Common.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index fadf622bdc21e3..a7548cce275cc9 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -6864,6 +6864,7 @@ void GCS_MAVLINK::manual_override(RC_Channel *c, int16_t value_in, const uint16_ void GCS_MAVLINK::handle_manual_control(const mavlink_message_t &msg) { if (msg.sysid != sysid_my_gcs()) { + GCS_SEND_TEXT(MAV_SEVERITY_WARNING, "Ignore sysid %u", msg.sysid); return; // only accept control from our gcs }