Nico Maas - 2023-03-26

Hello there,
I tried generating the C code for several CRC16 algorithms:

while I was able to generate the code for kermit with:
Crc(g16, rev=True).generateCode('crc16r',out)

the trial to generate the crc-ccitt-flase with
Crc(g16, initCrc=0xFFFF, rev=False).generateCode('crc16sum',out)
goes wrong - while the software does output the c code, the calculated checksum is always wrong.

Am I doing something wrong?
Thanks a lot! :)