mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
GCS_MAVLink: fix MAV.txp log field
This was being promoted to an unsigned.
This commit is contained in:
parent
a4c17a3913
commit
99c56c1770
@ -1523,7 +1523,7 @@ void GCS_MAVLINK::update_send()
|
||||
// between the last pass through here
|
||||
mavlink_status_t *status = mavlink_get_channel_status(chan);
|
||||
if (status != nullptr) {
|
||||
send_packet_count += (status->current_tx_seq - last_tx_seq);
|
||||
send_packet_count += uint8_t(status->current_tx_seq - last_tx_seq);
|
||||
last_tx_seq = status->current_tx_seq;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user