]> sigrok.org Git - libsigrok.git/commit
crc: Factor out CRC16 implementation from Modbus
authorAndreas Sandberg <redacted>
Fri, 6 Mar 2020 14:38:19 +0000 (14:38 +0000)
committerUwe Hermann <redacted>
Thu, 4 Jun 2020 22:25:26 +0000 (00:25 +0200)
commit4ea012bdf543a0daff4acf4bdc27caff514903e8
tree103c5129b1d4c68dfcf742a89d6625805c8b6a77
parent8b607a24e7e7dec8b65963281b9cb43a0c5ba0a6
crc: Factor out CRC16 implementation from Modbus

Being able to calculate a CRC16 is useful in multiple places, factor
this into a new module with CRC implementation. This module currently
only supports ANSI/Modbus/USB flavor of CRC16.

Signed-off-by: Andreas Sandberg <redacted>
Makefile.am
src/libsigrok-internal.h
src/modbus/modbus_serial_rtu.c