+ // halt previous.\r
+ mifare_classic_halt(NULL, 0);\r
+ \r
+ //select\r
+ if (!iso14443a_select_card(NULL, NULL, NULL, true, 0)) {\r
+ goto OUT;\r
+ };\r
+ \r
+ // MIFARE_CLASSIC_WRITEBLOCK 0xA0\r
+ // ACK 0x0a\r
+ uint16_t len = mifare_sendcmd_short(pcs, 1, 0xA0, 0, rec, recpar, NULL);\r
+ if ((len != 1) || (rec[0] != 0x0A)) { \r
+ isGen = GEN_2; \r
+ };\r
+ */\r
+OUT:;\r