X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/bf32dd923f3fbbfaa0932390fb1a771d03d0cf45..3b920280db306fd05322be0e70156e51dd2191f1:/common/lfdemod.c diff --git a/common/lfdemod.c b/common/lfdemod.c index 4c0f3ad9..23b9c8b5 100644 --- a/common/lfdemod.c +++ b/common/lfdemod.c @@ -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;