Skip to content

Commit

Permalink
core: fix debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
julianoes committed Sep 25, 2024
1 parent 24f3bfd commit 1174c4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mavsdk/core/mavlink_command_receiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void MavlinkCommandReceiver::receive_command_int(const mavlink_message_t& messag
cmd.target_component_id != MAV_COMP_ID_ALL) {
if (_debugging) {
LogDebug() << "Ignored command int to component " << (int)cmd.target_component_id
<< " instead of " << _server_component_impl.get_own_component_id();
<< " instead of " << (int)_server_component_impl.get_own_component_id();
}
return;
}
Expand Down Expand Up @@ -96,7 +96,7 @@ void MavlinkCommandReceiver::receive_command_long(const mavlink_message_t& messa
cmd.target_component_id != MAV_COMP_ID_ALL) {
if (_debugging) {
LogDebug() << "Ignored command long to component " << (int)cmd.target_component_id
<< " instead of " << _server_component_impl.get_own_component_id();
<< " instead of " << (int)_server_component_impl.get_own_component_id();
}
return;
}
Expand Down

0 comments on commit 1174c4f

Please sign in to comment.