mirror of
https://github.com/nfc-tools/libnfc.git
synced 2026-03-16 04:23:45 +00:00
Update nfc-mfclassic.c
This commit is contained in:
@@ -394,7 +394,7 @@ write_card(int write_block_zero)
|
|||||||
//need to use the W mode. We'll trigger a warning and let them proceed.
|
//need to use the W mode. We'll trigger a warning and let them proceed.
|
||||||
if (magic2) {
|
if (magic2) {
|
||||||
printf("Note: This card does not require an unlocked write (W) \n");
|
printf("Note: This card does not require an unlocked write (W) \n");
|
||||||
write_block_zero = 0
|
write_block_zero = 0;
|
||||||
} else {
|
} else {
|
||||||
//If User has requested an unlocked write, but we're unable to unlock the card, we'll error out.
|
//If User has requested an unlocked write, but we're unable to unlock the card, we'll error out.
|
||||||
if (!unlock_card()) {
|
if (!unlock_card()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user