Skip to content

Commit

Permalink
LfRfid: extra furi_check in gprox wiegand validation code
Browse files Browse the repository at this point in the history
  • Loading branch information
skotopes committed Sep 8, 2024
1 parent 64cea42 commit c1eeb39
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/lfrfid/protocols/protocol_gproxii.c
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ bool wiegand_check(uint64_t fc_and_card, bool even_parity, bool odd_parity, int
if(odd_parity_sum % 2 != odd_parity) return false;
break;
default:
furi_crash();
}
return true;
}
Expand Down

0 comments on commit c1eeb39

Please sign in to comment.