GCS_MAVLink: fix MAV.txp log field

This was being promoted to an unsigned.
This commit is contained in:
Peter Barker 2019-06-03 15:53:45 +10:00 committed by Andrew Tridgell
parent a4c17a3913
commit 99c56c1770

View File

@ -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;
}
}