This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
modbus [2011/11/07 16:40] jap |
modbus [2011/11/07 16:41] jap |
||
---|---|---|---|
Line 57: | Line 57: | ||
{ | { | ||
modbus_t *ctx; | modbus_t *ctx; | ||
- | uint16_t tab_reg[32]; | + | uint16_t tab_reg[MB_REG_BASE+MB_REG_COUNT]; |
int n, i; | int n, i; | ||
int errno = 0; | int errno = 0; |