Fix old UID display on hf mf csetuid

This commit is contained in:
Ave
2020-11-15 20:14:08 +03:00
parent 596a97a886
commit 7c5e3a29de
2 changed files with 3 additions and 2 deletions

View File

@@ -2082,9 +2082,10 @@ void MifareCSetBlock(uint32_t arg0, uint32_t arg1, uint8_t *datain) {
if (!iso14443a_select_card(uid, NULL, &cuid, true, 0, true)) {
if (DBGLEVEL >= DBG_ERROR) Dbprintf("Can't select card");
errormsg = MAGIC_UID;
mifare_classic_halt_ex(NULL);
break;
}
mifare_classic_halt_ex(NULL);
break;
}
// wipe tag, fill it with zeros