Skip to content

Commit

Permalink
Fix doc of modbus_mapping_new_start_address (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane committed Nov 6, 2023
1 parent b25629b commit e6b71a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/modbus_mapping_new_start_address.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e6b71a8

Please sign in to comment.