瀏覽代碼

Fix doc of modbus_mapping_new_start_address (#615)

Stéphane Raimbault 1 年之前
父節點
當前提交
e6b71a8886
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/modbus_mapping_new_start_address.md

+ 2 - 2
docs/modbus_mapping_new_start_address.md

@@ -33,8 +33,8 @@ The newly created `mb_mapping` will have the following arrays:
 
 - `tab_bits` set to NULL
 - `tab_input_bits` set to NULL
-- `tab_input_registers` allocated to store 10 registers (`uint16_t`)
-- `tab_registers` set to NULL.
+- `tab_registers` allocated to store 10 registers (`uint16_t`)
+- `tab_input_registers` set to NULL
 
 The clients can read the first register by using the address 340 in its request.
 On the server side, you should use the first index of the array to set the value