]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/appmain.c
fix bug if -DWITH_ISO14443a_StandAlone is removed from makefile (#598)
[proxmark3-svn] / armsrc / appmain.c
index 3aeb4c8af2de37b0fd76f55d6c47f6b63c9368f8..679a533ab3a5fbb826a6ba1f5ca87fea95836e85 100644 (file)
@@ -31,7 +31,7 @@
 #endif
 
 // Craig Young - 14a stand-alone code
 #endif
 
 // Craig Young - 14a stand-alone code
-#ifdef WITH_ISO14443a_StandAlone
+#ifdef WITH_ISO14443a
  #include "iso14443a.h"
 #endif
 
  #include "iso14443a.h"
 #endif
 
@@ -205,7 +205,7 @@ void MeasureAntennaTuningLfOnly(int *vLf125, int *vLf134, int *peakf, int *peakv
                }
        }
 
                }
        }
 
-       for (i=0; i <= 18; i++) LF_Results[i] = 0;
+       for (i=18; i >= 0; i--) LF_Results[i] = 0;
 
        return;
 }
 
        return;
 }
Impressum, Datenschutz