Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GCS_MAVLink: correct a debugging message #27480

Merged
merged 1 commit into from
Jul 9, 2024
Merged

GCS_MAVLink: correct a debugging message #27480

merged 1 commit into from
Jul 9, 2024

Conversation

landswellsong
Copy link
Contributor

Probably changed from a pointer to reference at some point and forgot to update a normally disabled block

Probably changed from a pointer to reference at some point and forgot to update a normally disabled block
@khancyr khancyr added the MAVLink label Jul 8, 2024
Copy link
Contributor

@khancyr khancyr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Setting ROUTING_DEBUG to 1 make a compile error :

[ 692/1325] Compiling libraries/GCS_MAVLink/MAVLink_routing.cpp
../../libraries/GCS_MAVLink/MAVLink_routing.cpp: In member function ‘bool MAVLink_routing::check_and_forward(GCS_MAVLINK&, const mavlink_message_t&)’:
../../libraries/GCS_MAVLink/MAVLink_routing.cpp:202:47: error: base operand of ‘->’ has non-pointer type ‘GCS_MAVLINK’
  202 |                              (unsigned)in_link->get_chan(),
      |                                               ^~
compilation terminated due to -Wfatal-errors.

@peterbarker peterbarker merged commit 6d27f69 into ArduPilot:master Jul 9, 2024
92 checks passed
@peterbarker
Copy link
Contributor

Merged, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants