remove dublicate calls (thanks @doegox)

This commit is contained in:
iceman1001 2020-10-22 00:05:44 +02:00
parent e50be8cb3a
commit 085d7c6cc5

View file

@ -346,10 +346,6 @@ static int em4x05_demod_resp(uint32_t *word, bool onlyPreamble) {
if (res == PM3_SUCCESS)
break;
res = doPreambleSearch(&idx);
if (res == PM3_SUCCESS)
break;
if (res == PM3_EFAILED)
found_err = true;
@ -358,10 +354,6 @@ static int em4x05_demod_resp(uint32_t *word, bool onlyPreamble) {
if (res == PM3_SUCCESS)
break;
res = doPreambleSearch(&idx);
if (res == PM3_SUCCESS)
break;
if (res == PM3_EFAILED)
found_err = true;
}