Commit 2689016a9b05866591066511db585f62d69d9771

Authored by Stéphane Raimbault
1 parent 70b7c5d2

Improve documentation of modbus_report_slave_id

Inspired by
https://github.com/remakeelectric/libmodbus/commit/56b2526f5140a7e7efd0a59d5f2e5fb200f5a632
doc/modbus_report_slave_id.txt
... ... @@ -26,7 +26,8 @@ The response stored in _dest_ contains:
26 26 * additional data specific to each controller. For example, libmodbus returns
27 27 the version of the library as a string.
28 28  
29   -The function write at most _max_dest_ bytes from the response to _dest_.
  29 +The function writes at most _max_dest_ bytes from the response to _dest_ so
  30 +you must take to allocate enough memory to store the results.
30 31  
31 32 RETURN VALUE
32 33 ------------
... ...