mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-20 05:13:46 -07:00
make style
This commit is contained in:
parent
ed4289d462
commit
bd8824a2f3
3 changed files with 6 additions and 6 deletions
|
@ -792,13 +792,13 @@ readysim:
|
||||||
flags = FLAG_4B_UID_IN_DATA;
|
flags = FLAG_4B_UID_IN_DATA;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
flags = FLAG_UID_IN_EMUL;
|
flags = FLAG_UID_IN_EMUL;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use UID, SAK, ATQA from EMUL, if uid not defined
|
// Use UID, SAK, ATQA from EMUL, if uid not defined
|
||||||
//if ((flags & (FLAG_4B_UID_IN_DATA | FLAG_7B_UID_IN_DATA | FLAG_10B_UID_IN_DATA)) == 0) {
|
//if ((flags & (FLAG_4B_UID_IN_DATA | FLAG_7B_UID_IN_DATA | FLAG_10B_UID_IN_DATA)) == 0) {
|
||||||
flags |= FLAG_UID_IN_EMUL;
|
flags |= FLAG_UID_IN_EMUL;
|
||||||
//}
|
//}
|
||||||
Mifare1ksim(flags | FLAG_MF_1K, 0, cjuid);
|
Mifare1ksim(flags | FLAG_MF_1K, 0, cjuid);
|
||||||
LED_C_OFF();
|
LED_C_OFF();
|
||||||
|
|
|
@ -81,8 +81,8 @@ local function main(args)
|
||||||
if o == 'o' then offset = tonumber(a) end
|
if o == 'o' then offset = tonumber(a) end
|
||||||
|
|
||||||
-- num of bytes to read
|
-- num of bytes to read
|
||||||
if o == 'l' then
|
if o == 'l' then
|
||||||
length = tonumber(a)
|
length = tonumber(a)
|
||||||
if length < 0 or length > 256 then
|
if length < 0 or length > 256 then
|
||||||
return oops('Error: Length is not valid. Must be less than 256')
|
return oops('Error: Length is not valid. Must be less than 256')
|
||||||
end
|
end
|
||||||
|
|
|
@ -94,4 +94,4 @@ typedef struct {
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif // __PMFLASH_H
|
#endif // __PMFLASH_H
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue