libsigrok/src/modbus
Wolfram Sang 52fb2d4484 modbus: silence a build warning
Refactor handling the size of modbus_devs, so it doesn't produce a build
warning and still allows the compiler to remove unused code.

This fixes bug #637. It could be reverted once modbus_devs
unconditionally has a member in the struct.

Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2015-12-29 13:19:36 +01:00
..
modbus.c modbus: silence a build warning 2015-12-29 13:19:36 +01:00
modbus_serial_rtu.c Build: Include <config.h> first in all source files 2015-09-13 18:54:46 +02:00