From fa5b550fa827337c8770e3f078743dbe5f58fd39 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 1 Feb 2018 15:35:00 +0100 Subject: [PATCH] chg: should be a define. --- armsrc/felica.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/armsrc/felica.c b/armsrc/felica.c index 773ced205..0251b5db1 100644 --- a/armsrc/felica.c +++ b/armsrc/felica.c @@ -105,17 +105,6 @@ static void shiftInByte(uint8_t bt) { } } -//expect framebuf to be preset with len... -void AddCrc(uint8_t* buf, int len) { - - // buf[2] == length - //uint8_t len = buf[2]; - // uint16_t crc = crc16_xmodem( buf+2, len); - // buf[2 + len] = (crc >> 8); - // buf[3 + len] = (crc & 0xff); - compute_crc( CRC_FELICA, buf+2, len, buf+len+2, buf+len+3); -} - static void ProcessNFCByte(uint8_t bt) { switch (NFCFrame.state) { case STATE_UNSYNCD: {