mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-10-24 10:43:03 +00:00
Fix incorrect header length
Signed-off-by: Emily Astranova <emily@astralabs.dev>
This commit is contained in:
1 parent
6b26afe853
commit
ac3c1bbf9f
1 file changed
+1
-1
@@ -165,7 +165,7 @@ static uint8_t get_length_from_header(wiegand_message_t *data) {
|
||||
len = 0;
|
||||
}
|
||||
|
||||
while (hfmt > 1) {
|
||||
while (hfmt > 0) {
|
||||
hfmt >>= 1;
|
||||
len++;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user