Эх сурвалжийг харах

Fix doc of modbus_mapping_new_start_address (#615)

Stéphane Raimbault 1 жил өмнө
parent
commit
e6b71a8886

+ 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_bits` set to NULL
 - `tab_input_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.
 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
 On the server side, you should use the first index of the array to set the value