]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/mifaresim.c
Fix for USB uart slowness since PR #720 (#787)
[proxmark3-svn] / armsrc / mifaresim.c
index 1fdf99d6af7ddfcaf64b59817c611028b2534c39..c92648363e04a5b4609a5d8fe005963fbc9c70ca 100644 (file)
@@ -347,7 +347,7 @@ void Mifare1ksim(uint8_t flags, uint8_t exitAfterNReads, uint8_t arg2, uint8_t *
 
                // find reader field
                if (cardSTATE == MFEMUL_NOFIELD) {
-                       int vHf = (MAX_ADC_HF_VOLTAGE * AvgAdc(ADC_CHAN_HF)) >> 10;
+                       int vHf = (MAX_ADC_HF_VOLTAGE_LOW * AvgAdc(ADC_CHAN_HF_LOW)) >> 10;
                        if (vHf > MF_MINFIELDV) {
                                LED_A_ON();
                                cardSTATE_TO_IDLE();
Impressum, Datenschutz