Fix return code check for iso14443b_select_card in hf epa

This commit is contained in:
Philippe Teuwen 2019-03-05 16:39:26 +01:00
commit 4ffeebc193

View file

@ -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;