]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - common/lfdemod.c
ADD: Calc legic Crc8 method on given input hexstring.
[proxmark3-svn] / common / lfdemod.c
index 4c0f3ad9579cae8a90b4473fa4f6d44885831542..23b9c8b5d4a8326cead8f765f32e707f149cd906 100644 (file)
@@ -135,8 +135,7 @@ uint32_t bytebits_to_byte(uint8_t *src, size_t numbits)
 uint32_t bytebits_to_byteLSBF(uint8_t *src, size_t numbits)
 {
        uint32_t num = 0;
-       for(int i = 0 ; i < numbits ; i++)
-       {
+       for(int i = 0 ; i < numbits ; i++) {
                num = (num << 1) | *(src + (numbits-(i+1)));
        }
        return num;
Impressum, Datenschutz