make style
This commit is contained in:
parent
3ec9ecf800
commit
024fca9cb7
3 changed files with 48 additions and 52 deletions
|
|
@ -251,12 +251,12 @@ unlock_card(void)
|
|||
if (!transmit_bits(abtUnlock1, 7)) {
|
||||
printf("Warning: Unlock command [1/2]: failed / not acknowledged.\n");
|
||||
} else {
|
||||
if (transmit_bytes(abtUnlock2, 1)) {
|
||||
printf("Card unlocked\n");
|
||||
unlocked = true;
|
||||
} else {
|
||||
printf("Warning: Unlock command [2/2]: failed / not acknowledged.\n");
|
||||
}
|
||||
if (transmit_bytes(abtUnlock2, 1)) {
|
||||
printf("Card unlocked\n");
|
||||
unlocked = true;
|
||||
} else {
|
||||
printf("Warning: Unlock command [2/2]: failed / not acknowledged.\n");
|
||||
}
|
||||
}
|
||||
|
||||
// reset reader
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue