Stefan Nilsson %!s(int64=4) %!d(string=hai) anos
pai
achega
1f84d40a00
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modbus-rtu.c

+ 1 - 1
src/modbus-rtu.c

@@ -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,