minor adjustments to hf mfu

This commit is contained in:
marshmellow42 2015-05-20 14:17:43 -04:00
commit ea11861793

View file

@ -152,7 +152,7 @@ static int ul_select( iso14a_card_select_t *card ){
UsbCommand resp;
bool ans = false;
ans = WaitForResponseTimeout(CMD_ACK, &resp, 1500);
if (resp.arg[0] < 1 || !ans) {
if (!ans || resp.arg[0] < 1) {
PrintAndLog("iso14443a card select failed");
ul_switch_off_field();
return 0;