mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
lfops: remove always true conds
This commit is contained in:
parent
3807848171
commit
ebeab59bc4
1 changed files with 15 additions and 22 deletions
|
@ -1066,13 +1066,9 @@ void CmdHIDdemodFSK(int findone, uint32_t *high, uint32_t *low, int ledcontrol)
|
|||
}
|
||||
} else { //if bit 38 is not set then 37 bit format is used
|
||||
bitlen = 37;
|
||||
fc = 0;
|
||||
cardnum = 0;
|
||||
if (bitlen == 37) {
|
||||
cardnum = (lo >> 1) & 0x7FFFF;
|
||||
fc = ((hi & 0xF) << 12) | (lo >> 20);
|
||||
}
|
||||
}
|
||||
Dbprintf("TAG ID: %x%08x (%d) - Format Len: %dbit - FC: %d - Card: %d",
|
||||
hi,
|
||||
lo,
|
||||
|
@ -1591,8 +1587,6 @@ void T55xx_ChkPwds() {
|
|||
uint32_t candidate = 0;
|
||||
|
||||
#ifdef WITH_FLASH
|
||||
bool use_flashmem = true;
|
||||
if (use_flashmem) {
|
||||
BigBuf_Clear_EM();
|
||||
uint16_t isok = 0;
|
||||
uint8_t counter[2] = {0x00, 0x00};
|
||||
|
@ -1610,7 +1604,6 @@ void T55xx_ChkPwds() {
|
|||
goto OUT;
|
||||
|
||||
Dbprintf("[=] Password dictionary count %d ", pwdCount);
|
||||
}
|
||||
#endif
|
||||
|
||||
uint32_t pwd = 0, curr = 0, prev = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue