Commit 1f84d40a008894570fe272602cd829b8a946d2fa

Authored by Stefan Nilsson
Committed by Stéphane Raimbault
1 parent bcfd1114

typo

Showing 1 changed file with 1 additions and 1 deletions
src/modbus-rtu.c
... ... @@ -353,7 +353,7 @@ static int _modbus_rtu_pre_check_confirmation(modbus_t *ctx, const uint8_t *req,
353 353 }
354 354 }
355 355  
356   -/* The check_crc16 function shall return 0 is the message is ignored and the
  356 +/* The check_crc16 function shall return 0 if the message is ignored and the
357 357 message length if the CRC is valid. Otherwise it shall return -1 and set
358 358 errno to EMBBADCRC. */
359 359 static int _modbus_rtu_check_integrity(modbus_t *ctx, uint8_t *msg,
... ...