瀏覽代碼

Minor change to documentation

Stéphane Raimbault 13 年之前
父節點
當前提交
78587bdf68
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      doc/modbus_write_and_read_registers.txt

+ 3 - 3
doc/modbus_write_and_read_registers.txt

@@ -16,9 +16,9 @@ DESCRIPTION
 -----------
 -----------
 The _modbus_write_and_read_registers()_ function shall write the content of the
 The _modbus_write_and_read_registers()_ function shall write the content of the
 'write_nb' holding registers from the array 'src' to the address 'write_addr' of
 'write_nb' holding registers from the array 'src' to the address 'write_addr' of
-the remote device then shall read the content of the 'read_nb' holding registers to
+the remote device then shall read the content of the 'read_nb' holding registers
-the address 'read_addr' of the remote device. The result of reading is stored in
+to the address 'read_addr' of the remote device. The result of reading is stored
-'dest' array as word values (16 bits).
+in 'dest' array as word values (16 bits).
 
 
 You must take care to allocate enough memory to store the results in 'dest'
 You must take care to allocate enough memory to store the results in 'dest'
 (at least 'nb' * sizeof(uint16_t)).
 (at least 'nb' * sizeof(uint16_t)).