From c7051e0d3fc8649efdb15f22e1a1707c284521a6 Mon Sep 17 00:00:00 2001 From: Stéphane Raimbault Date: Tue, 16 Aug 2011 06:56:01 +0200 Subject: [PATCH] Fix and improve documentation of modbus_set_error_recovery --- doc/modbus_set_error_recovery.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/modbus_set_error_recovery.txt b/doc/modbus_set_error_recovery.txt index 1172fcd..dcd5c9c 100644 --- a/doc/modbus_set_error_recovery.txt +++ b/doc/modbus_set_error_recovery.txt @@ -15,7 +15,9 @@ SYNOPSIS DESCRIPTION ----------- The _modbus_set_error_recovery()_ function shall set the error recovery mode to -apply when the connection fails or the date received are not expected. +apply when the connection fails or the byte received is not expected. The +argument 'error_recovery' may be bitwise-or'ed with zero or more of the +following constants. By default there is no error recovery ('MODBUS_ERROR_RECOVERY_NONE') so the application is responsible for controlling the error values returned by -- libgit2 0.21.4