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
parent 0944a12744
commit 4ffeebc193

View file

@ -544,7 +544,7 @@ int EPA_Setup()
iso14443b_setup();
// select the card
return_code = iso14443b_select_card( &card_b_info );
if (return_code == 1) {
if (return_code == 0) {
Dbprintf("ISO 14443 Type B");
iso_type = 'b';
return 0;