Fix NCC1701...

This commit is contained in:
Pascal Langer
2021-01-11 12:33:29 +01:00
parent e5689d2f1b
commit 00c6aa52b9
2 changed files with 1 additions and 7 deletions

View File

@@ -74,7 +74,7 @@ static boolean __attribute__((unused)) NCC_Decrypt_Packet()
debug("RX: ");
for(uint8_t i=0; i< NCC_RX_PACKET_LEN-2; i++)
{
crc=crc16_update( packet[i], 8);
crc16_update( packet[i], 8);
packet[i]^=NCC_xor[i];
debug("%02X ",packet[i]);
}