DRY in modbus_reply by improving response_exception()
commit73a88a747c473a7427ef70f0351ff6f5370c3495
authorStéphane Raimbault <stephane.raimbault@gmail.com>
Fri, 20 May 2016 10:01:13 +0000 (20 12:01 +0200)
committerStéphane Raimbault <stephane.raimbault@gmail.com>
Fri, 20 May 2016 10:01:13 +0000 (20 12:01 +0200)
tree5eda0e6d2244cdad8ddd09d4a93629e06e56dac1
parent902c28730ab0fee6e4e9040f9883bbeb1b4d5fcc
DRY in modbus_reply by improving response_exception()

Thanks to Rüdiger Ranft for the idea.
src/modbus.c