Skip to content

Commit

Permalink
GCS_MAVLink: Notify access from an invalid system ID
Browse files Browse the repository at this point in the history
  • Loading branch information
muramura committed May 19, 2024
1 parent 3e868be commit 55a9f0d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/GCS_MAVLink/GCS_Common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 55a9f0d

Please sign in to comment.