Make CRC size explicit in some cmd/reply size calculations

This commit is contained in:
Philippe Teuwen
2025-06-16 10:51:40 +02:00
parent 63392baa40
commit 67da1c8ca5
4 changed files with 10 additions and 9 deletions

View File

@@ -20,6 +20,7 @@
#include "common.h"
#define CRC16_SIZE 2
#define CRC16_POLY_CCITT 0x1021
#define CRC16_POLY_KERMIT 0x8408
#define CRC16_POLY_LEGIC 0xc6c6 //0x6363