X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/95e635947bc4628b713fa00d7a533a881bca7fc4..cb8c358f4d31fdc7a388136c7036d57ec431c7ca:/armsrc/util.c?ds=sidebyside diff --git a/armsrc/util.c b/armsrc/util.c index b1ef6ea0..0558fb94 100644 --- a/armsrc/util.c +++ b/armsrc/util.c @@ -85,15 +85,6 @@ int32_t le24toh (uint8_t data[3]) return (data[2] << 16) | (data[1] << 8) | data[0]; } -//added here for parity calulations -uint8_t oddparity(uint8_t bt) -{ - uint16_t v = bt; - v ^= v >> 4; - v &= 0xF; - return ((0x9669 >> v) & 1); -} - void LEDsoff() { LED_A_OFF();