Fix return code check for iso14443b_select_card in hf epa
This commit is contained in:
@@ -544,7 +544,7 @@ int EPA_Setup()
|
|||||||
iso14443b_setup();
|
iso14443b_setup();
|
||||||
// select the card
|
// select the card
|
||||||
return_code = iso14443b_select_card( &card_b_info );
|
return_code = iso14443b_select_card( &card_b_info );
|
||||||
if (return_code == 1) {
|
if (return_code == 0) {
|
||||||
Dbprintf("ISO 14443 Type B");
|
Dbprintf("ISO 14443 Type B");
|
||||||
iso_type = 'b';
|
iso_type = 'b';
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user