fix cid 393262
This commit is contained in:
1 parent
a5b5b2f08a
commit
10e7da9065
1 file changed
+4
-1
+4
-1
@@ -2529,7 +2529,10 @@ int iso14443a_select_cardEx(uint8_t *uid_ptr, iso14a_card_select_t *p_card, uint
|
||||
// Read real UID
|
||||
uint8_t fudan_read[] = { 0x30, 0x01, 0x8B, 0xB9};
|
||||
ReaderTransmit(fudan_read, sizeof(fudan_read), NULL);
|
||||
ReaderReceive(resp, resp_par);
|
||||
if (!ReaderReceive(resp, resp_par)) {
|
||||
Dbprintf("Card didn't answer to select all");
|
||||
return 0;
|
||||
}
|
||||
|
||||
memcpy(p_card->uid, resp, 4);
|
||||
|
||||
|
||||
Reference in new issue
Block a user