mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-24 14:35:17 +00:00
Fix incorrect header length
Signed-off-by: Emily Astranova <emily@astralabs.dev>
This commit is contained in:
@@ -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