From 085d7c6cc527a04390118c1fd6331cf0aaab679e Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 22 Oct 2020 00:05:44 +0200 Subject: [PATCH] remove dublicate calls (thanks @doegox) --- client/src/cmdlfem4x05.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/client/src/cmdlfem4x05.c b/client/src/cmdlfem4x05.c index 557d125f2..fcecec161 100644 --- a/client/src/cmdlfem4x05.c +++ b/client/src/cmdlfem4x05.c @@ -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; }