Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
stefannilsson authored and stephane committed May 10, 2021
1 parent bcfd111 commit 1f84d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modbus-rtu.c
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ static int _modbus_rtu_pre_check_confirmation(modbus_t *ctx, const uint8_t *req,
}
}

/* The check_crc16 function shall return 0 is the message is ignored and the
/* The check_crc16 function shall return 0 if the message is ignored and the
message length if the CRC is valid. Otherwise it shall return -1 and set
errno to EMBBADCRC. */
static int _modbus_rtu_check_integrity(modbus_t *ctx, uint8_t *msg,
Expand Down

0 comments on commit 1f84d40

Please sign in to comment.