Skip to content

Commit

Permalink
Ditto
Browse files Browse the repository at this point in the history
  • Loading branch information
MrD-RC committed Nov 3, 2024
1 parent 2f51a7a commit 80c47fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/fc/fc_msp.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ static void mspSerialPassthroughFn(serialPort_t *serialPort)

static void mspFcSetPassthroughCommand(sbuf_t *dst, sbuf_t *src, mspPostProcessFnPtr *mspPostProcessFn)
{
const unsigned int dataSize = sbufBytesRemaining(src);
const unsigned int dataSize = sbufBytesRemaining(src); /* Payload size in Bytes */

if (dataSize == 0) {
// Legacy format
Expand Down Expand Up @@ -1831,7 +1831,7 @@ static mspResult_e mspFcProcessInCommand(uint16_t cmdMSP, sbuf_t *src)
uint8_t tmp_u8;
uint16_t tmp_u16;

const unsigned int dataSize = sbufBytesRemaining(src);
const unsigned int dataSize = sbufBytesRemaining(src); /* Payload size in Bytes */

switch (cmdMSP) {
case MSP_SELECT_SETTING:
Expand Down

0 comments on commit 80c47fa

Please sign in to comment.