Commit c0ee9dfe43055856c062fd466e26d14fd7fa5529
Committed by
Stéphane Raimbault
1 parent
db1cbc59
Fixed a typo error in a comment.
Showing
1 changed file
with
1 additions
and
1 deletions
src/modbus.c
| ... | ... | @@ -1467,7 +1467,7 @@ int modbus_mask_write_register(modbus_t *ctx, int addr, uint16_t and_mask, uint1 |
| 1467 | 1467 | int rc; |
| 1468 | 1468 | int req_length; |
| 1469 | 1469 | /* The request length can not exceed _MIN_REQ_LENGTH - 2 and 4 bytes to |
| 1470 | - * store the masks. The ugly subtraction is there to remove the 'nb' value | |
| 1470 | + * store the masks. The ugly substraction is there to remove the 'nb' value | |
| 1471 | 1471 | * (2 bytes) which is not used. */ |
| 1472 | 1472 | uint8_t req[_MIN_REQ_LENGTH + 2]; |
| 1473 | 1473 | ... | ... |