diff --git a/src_main/math/picrc.h b/src_main/math/picrc.h index f9f76f82..616745d2 100755 --- a/src_main/math/picrc.h +++ b/src_main/math/picrc.h @@ -239,6 +239,7 @@ typedef PICRC<8, uchar> CRC_8; inline CRC_32 standardCRC_32() {return CRC_32(0x04C11DB7, true, 0xFFFFFFFF, 0xFFFFFFFF);} inline CRC_16 standardCRC_16() {return CRC_16(0x8005, true, 0x0, 0x0);} +inline CRC_16 standardCRC_16_Modbus() {return CRC_16(0x8005, 0xFFFF, 0xFFFF, false);} inline CRC_8 standardCRC_8() {return CRC_8(0xD5, true, 0x0, 0x0);} #endif // CRC_H