mirror of
https://github.com/espressif/openthread.git
synced 2026-08-13 06:07:48 +00:00
Initialize both CRC-CCITT and CRC-ANSI with 0. (#1095)
This commit is contained in:
@@ -43,7 +43,7 @@ Crc16::Crc16(Polynomial aPolynomial)
|
||||
|
||||
void Crc16::Init(void)
|
||||
{
|
||||
mCrc = 0xffff;
|
||||
mCrc = 0;
|
||||
}
|
||||
|
||||
void Crc16::Update(uint8_t aByte)
|
||||
|
||||
Reference in New Issue
Block a user