At line 1142 in src/modbus.c, remove device seems like a typo.
May be it should be remote device.
/* Reads the data from a remove device and put that data into an array */
static int read_registers(modbus_t *ctx, int function, int addr, int nb,
uint16_t *dest)
libmodbus version
31f779185d3d2a7b212b508ea321f4e449f3de85
Description
At line 1142 in
src/modbus.c
, remove device seems like a typo. May be it should be remote device.