-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Open
Labels
Component: DocumentationRelated to Arduino's documentation contentRelated to Arduino's documentation contentLibrary: OtherArduino libraries that don't have their own labelArduino libraries that don't have their own labelType: Bug
Description
In documentation for ArduinoModbus library, all configure function for Server have wrong return value in documentation.
For example https://www.arduino.cc/en/ArduinoModbus/ModbusServerconfigureDiscreteInputs
The function allocate memory for Moddus registers and coils.
Returns
0 on success, 1 on failure
Return should be ( according to source code )
-1 Invalid argument
0 on failure
1 on success
Same for all configure function
Metadata
Metadata
Assignees
Labels
Component: DocumentationRelated to Arduino's documentation contentRelated to Arduino's documentation contentLibrary: OtherArduino libraries that don't have their own labelArduino libraries that don't have their own labelType: Bug