Commit 89f5c50415748e82e98c143f80bc888e389f030f
1 parent
410b148f
Fix typo in comment (closes #588)
Thank you @qqq89513
Showing
1 changed file
with
1 additions
and
1 deletions
src/modbus.c
| @@ -1139,7 +1139,7 @@ int modbus_read_input_bits(modbus_t *ctx, int addr, int nb, uint8_t *dest) | @@ -1139,7 +1139,7 @@ int modbus_read_input_bits(modbus_t *ctx, int addr, int nb, uint8_t *dest) | ||
| 1139 | return nb; | 1139 | return nb; |
| 1140 | } | 1140 | } |
| 1141 | 1141 | ||
| 1142 | -/* Reads the data from a remove device and put that data into an array */ | 1142 | +/* Reads the data from a remote device and put that data into an array */ |
| 1143 | static int read_registers(modbus_t *ctx, int function, int addr, int nb, | 1143 | static int read_registers(modbus_t *ctx, int function, int addr, int nb, |
| 1144 | uint16_t *dest) | 1144 | uint16_t *dest) |
| 1145 | { | 1145 | { |