Commit c7051e0d3fc8649efdb15f22e1a1707c284521a6

Authored by Stéphane Raimbault
1 parent a92ea2eb

Fix and improve documentation of modbus_set_error_recovery

doc/modbus_set_error_recovery.txt
@@ -15,7 +15,9 @@ SYNOPSIS @@ -15,7 +15,9 @@ SYNOPSIS
15 DESCRIPTION 15 DESCRIPTION
16 ----------- 16 -----------
17 The _modbus_set_error_recovery()_ function shall set the error recovery mode to 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 By default there is no error recovery ('MODBUS_ERROR_RECOVERY_NONE') so the 22 By default there is no error recovery ('MODBUS_ERROR_RECOVERY_NONE') so the
21 application is responsible for controlling the error values returned by 23 application is responsible for controlling the error values returned by