remove dublicate calls (thanks @doegox)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user