mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
style
This commit is contained in:
parent
8d6bde0d63
commit
ffa3e2a0f8
5 changed files with 72 additions and 72 deletions
|
@ -1997,18 +1997,18 @@ void MifareCIdent() {
|
|||
|
||||
// Generation 1 test
|
||||
ReaderTransmitBitsPar(wupC1, 7, NULL, NULL);
|
||||
|
||||
|
||||
if (ReaderReceive(rec, recpar) || (rec[0] != 0x0a)) {
|
||||
|
||||
ReaderTransmit(wupC2, sizeof(wupC2), NULL);
|
||||
|
||||
if (!ReaderReceive(rec, recpar) || (rec[0] != 0x0a)) {
|
||||
isGen = GEN_1B;
|
||||
goto OUT;
|
||||
};
|
||||
isGen = GEN_1A;
|
||||
goto OUT;
|
||||
}
|
||||
ReaderTransmit(wupC2, sizeof(wupC2), NULL);
|
||||
|
||||
if (!ReaderReceive(rec, recpar) || (rec[0] != 0x0a)) {
|
||||
isGen = GEN_1B;
|
||||
goto OUT;
|
||||
};
|
||||
isGen = GEN_1A;
|
||||
goto OUT;
|
||||
}
|
||||
|
||||
// reset card
|
||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||
|
@ -2017,7 +2017,7 @@ void MifareCIdent() {
|
|||
|
||||
int res = iso14443a_select_card(uid, NULL, &cuid, true, 0, true);
|
||||
if (res == 2) {
|
||||
Dbprintf("cident AA55C396 == %08X", cuid);
|
||||
Dbprintf("cident AA55C396 == %08X", cuid);
|
||||
if (cuid == 0xAA55C396) {
|
||||
isGen = GEN_UNFUSED;
|
||||
goto OUT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue