1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

remove MSP command from replies

This commit is contained in:
Raphael Coeffic 2016-10-26 03:30:36 +02:00
parent 89e810c1b2
commit 9eb99048e3

View file

@ -483,10 +483,7 @@ bool smartPortSendMspReply()
// header // header
*(p++) = (SMARTPORT_MSP_VERSION << 5) | (1 << 4) | (seq++ & 0xF); *(p++) = (SMARTPORT_MSP_VERSION << 5) | (1 << 4) | (seq++ & 0xF);
*(p++) = size; *(p++) = size;
*(p++) = smartPortMspReply.cmd;
checksum = sbufBytesRemaining(txBuf) ^ smartPortMspReply.cmd; checksum = sbufBytesRemaining(txBuf) ^ smartPortMspReply.cmd;
} }
else { else {