mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
repeat the SPORT/MSP header for each SPORT message
This commit is contained in:
parent
4c8e08b402
commit
89e810c1b2
1 changed files with 4 additions and 0 deletions
|
@ -489,6 +489,10 @@ bool smartPortSendMspReply()
|
|||
|
||||
checksum = sbufBytesRemaining(txBuf) ^ smartPortMspReply.cmd;
|
||||
}
|
||||
else {
|
||||
// header
|
||||
*(p++) = (SMARTPORT_MSP_VERSION << 5) | (seq++ & 0xF);
|
||||
}
|
||||
|
||||
while ((p < end) && (sbufBytesRemaining(txBuf) > 0)) {
|
||||
*p = sbufReadU8(txBuf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue