Commit 1a503b7f4ba5ac6c889c2206a48dfae355680de8
1 parent
7c8dbd29
Fix comment about EMBUNKEXC (closes #566)
This native libmodbus error code is defined but not used.
Showing
1 changed file
with
0 additions
and
1 deletions
src/modbus.c
| @@ -332,7 +332,6 @@ static int compute_data_length_after_meta(modbus_t *ctx, uint8_t *msg, | @@ -332,7 +332,6 @@ static int compute_data_length_after_meta(modbus_t *ctx, uint8_t *msg, | ||
| 332 | and errno is set to one of the values defined below: | 332 | and errno is set to one of the values defined below: |
| 333 | - ECONNRESET | 333 | - ECONNRESET |
| 334 | - EMBBADDATA | 334 | - EMBBADDATA |
| 335 | - - EMBUNKEXC | ||
| 336 | - ETIMEDOUT | 335 | - ETIMEDOUT |
| 337 | - read() or recv() error codes | 336 | - read() or recv() error codes |
| 338 | */ | 337 | */ |