mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 05:01:37 +08:00
mavlink: clang-tidy fix
This commit is contained in:
@@ -3158,7 +3158,7 @@ void MavlinkReceiver::print_detailed_rx_stats() const
|
|||||||
// TODO: add mutex around shared data.
|
// TODO: add mutex around shared data.
|
||||||
for (unsigned i = 0; i < MAX_REMOTE_COMPONENTS; ++i) {
|
for (unsigned i = 0; i < MAX_REMOTE_COMPONENTS; ++i) {
|
||||||
if (_component_states[i].received_messages > 0) {
|
if (_component_states[i].received_messages > 0) {
|
||||||
printf("\t received from %u/%u: %lu, lost: %lu, last %lu ms ago\n",
|
printf("\t received from %u/%u: %lu, lost: %u, last %u ms ago\n",
|
||||||
_component_states[i].system_id,
|
_component_states[i].system_id,
|
||||||
_component_states[i].component_id,
|
_component_states[i].component_id,
|
||||||
_component_states[i].received_messages,
|
_component_states[i].received_messages,
|
||||||
|
|||||||
Reference in New Issue
Block a user