This commit is contained in:
PX4BuildBot
2015-02-23 22:24:39 +00:00
parent 020d76dbff
commit e903b9e620
12 changed files with 17 additions and 11 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ MAVLINK_HELPER uint16_t mavlink_finalize_message_chan(mavlink_message_t* msg, ui
msg->len = length;
msg->sysid = system_id;
msg->compid = component_id;
// One sequence number per component
// One sequence number per channel
msg->seq = mavlink_get_channel_status(chan)->current_tx_seq;
mavlink_get_channel_status(chan)->current_tx_seq = mavlink_get_channel_status(chan)->current_tx_seq+1;
msg->checksum = crc_calculate(((const uint8_t*)(msg)) + 3, MAVLINK_CORE_HEADER_LEN);