Skip to content

Instantly share code, notes, and snippets.

@symm
Created September 25, 2016 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save symm/69f508540052b8b3046a8a5e9f6a5fb4 to your computer and use it in GitHub Desktop.
Save symm/69f508540052b8b3046a8a5e9f6a5fb4 to your computer and use it in GitHub Desktop.
diff --git a/utils/nfc-mfclassic.c b/utils/nfc-mfclassic.c
index 1242886..8d9c6f0 100644
--- a/utils/nfc-mfclassic.c
+++ b/utils/nfc-mfclassic.c
@@ -431,8 +431,8 @@ write_card(int write_block_zero)
}
} else {
// The first block 0x00 is read only, skip this
- if (uiBlock == 0 && ! write_block_zero && ! magic2)
- continue;
+ //if (uiBlock == 0 && ! write_block_zero && ! magic2)
+ // continue;
// Make sure a earlier write did not fail
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment