Merge pull request #111 from doegox/master

Fix return code check for iso14443b_select_card in hf epa
This commit is contained in:
Iceman 2019-03-05 18:43:23 +01:00 committed by GitHub
commit 0379c20031
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;