fix: lf search hangs

This commit is contained in:
douniwan5788 committed 2024-09-21 23:37:55 +08:00
1 parent 9f3e94c668
commit 0ef374e06f
2 files changed
+4 -3

No files matched your search

+1 -1
View File
@@ -1569,7 +1569,7 @@ static bool check_chiptype(bool getDeviceData) {
//check for em4x05/em4x69 chips first
uint32_t word = 0;
if (em4x05_isblock0(&word)) {
if (IfPm3EM4x50() && em4x05_isblock0(&word)) {
PrintAndLogEx(SUCCESS, "Chipset detection: " _GREEN_("EM4x05 / EM4x69"));
PrintAndLogEx(HINT, "Hint: try " _YELLOW_("`lf em 4x05`") " commands");
retval = true;