fix bug in st detect +
[proxmark3-svn] / client / cmdlft55xx.c
index 72345c9d2a75d708aa2ccd829050d00543795b93..123c20647193d5791d9af8490e79e12c195d0156 100644 (file)
@@ -570,7 +570,7 @@ bool tryDetectModulation(){
                        }\r
                }\r
                clk = GetNrzClock("", false, false);\r
-               if (clk>0) {\r
+               if (clk>8) { //clock of rf/8 is likely a false positive, so don't use it.\r
                        if ( NRZrawDemod("0 0 1", false)  && test(DEMOD_NRZ, &tests[hits].offset, &bitRate, clk, &tests[hits].Q5)) {\r
                                tests[hits].modulation = DEMOD_NRZ;\r
                                tests[hits].bitrate = bitRate;\r
Impressum, Datenschutz