mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
Setup bincomm auto acknowledge.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@793 f9c3cf11-9bcb-44bc-f272-b75c42450872
This commit is contained in:
parent
f28c752bbb
commit
d72c61b80a
@ -205,7 +205,10 @@ BinComm::_decode(uint8_t inByte)
|
||||
for (tableIndex = 0; MSG_NULL != _handlerTable[tableIndex].messageID; tableIndex++)
|
||||
if ((_handlerTable[tableIndex].messageID == _messageID) ||
|
||||
(_handlerTable[tableIndex].messageID == MSG_ANY))
|
||||
{
|
||||
_handlerTable[tableIndex].handler(_handlerTable[tableIndex].arg, _messageID, _messageVersion, &_decodeBuf);
|
||||
send_msg_acknowledge(_messageID,_sumA,_sumB);
|
||||
}
|
||||
} else {
|
||||
badMessagesReceived++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user