Commit c7051e0d3fc8649efdb15f22e1a1707c284521a6
1 parent
a92ea2eb
Fix and improve documentation of modbus_set_error_recovery
Showing
1 changed file
with
3 additions
and
1 deletions
doc/modbus_set_error_recovery.txt
| ... | ... | @@ -15,7 +15,9 @@ SYNOPSIS |
| 15 | 15 | DESCRIPTION |
| 16 | 16 | ----------- |
| 17 | 17 | The _modbus_set_error_recovery()_ function shall set the error recovery mode to |
| 18 | -apply when the connection fails or the date received are not expected. | |
| 18 | +apply when the connection fails or the byte received is not expected. The | |
| 19 | +argument 'error_recovery' may be bitwise-or'ed with zero or more of the | |
| 20 | +following constants. | |
| 19 | 21 | |
| 20 | 22 | By default there is no error recovery ('MODBUS_ERROR_RECOVERY_NONE') so the |
| 21 | 23 | application is responsible for controlling the error values returned by | ... | ... |