]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/lfsampling.c
Specify that we need TCP and not UDP connection (#828)
[proxmark3-svn] / armsrc / lfsampling.c
index 3b0762653b7ea99ea2e1b2dcc1d01632e3dd08db..03bccf41a7bbd151fac373b593ec7b24934c0740 100644 (file)
@@ -12,7 +12,7 @@
 #include "string.h"
 #include "lfsampling.h"
 #include "usb_cdc.h"   // for usb_poll_validate_length
-//#include "ticks.h"           // for StartTicks
+#include "fpgaloader.h"
 
 sample_config config = { 1, 8, 1, 95, 0 } ;
 
@@ -101,7 +101,7 @@ void LFSetupFPGAForADC(int divisor, bool lf_field)
        // Give it a bit of time for the resonant antenna to settle.
        SpinDelay(50);
        // Now set up the SSC to get the ADC samples that are now streaming at us.
-       FpgaSetupSsc();
+       FpgaSetupSsc(FPGA_MAJOR_MODE_LF_ADC);
 }
 
 /**
Impressum, Datenschutz