Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mmosca committed Nov 13, 2024
1 parent f6cdc12 commit 09436bc
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 @@ -2062,8 +2062,8 @@ static mspResult_e mspFcProcessInCommand(uint16_t cmdMSP, sbuf_t *src)
{
displayPort_t *dp = osdGetDisplayPort();
if(dp != NULL && dataSize == 2) {
dp->cols = constrain(sbuReadU8(src), 30, MSP_DISPLAYPORT_MAX_COLS);
dp->rows = constrain(sbuReadU8(src), 16, MSP_DISPLAYPORT_MAX_ROWS);
dp->cols = constrain(sbfuReadU8(src), 30, MSP_DISPLAYPORT_MAX_COLS);
dp->rows = constrain(sbufReadU8(src), 16, MSP_DISPLAYPORT_MAX_ROWS);
} else {
return MSP_RESULT_ERROR;
}
Expand Down

0 comments on commit 09436bc

Please sign in to comment.