]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/hfsnoop.c
EVM fixes and additions (RRG repository PRs 78-82 by @merlokk) (#776)
[proxmark3-svn] / armsrc / hfsnoop.c
index 6a58b20b0e7f9fc6319abc7ea6869f5fa6e9cc60..e492c47472cab53ce5baff06a6ac0698cfeecd94 100644 (file)
@@ -2,6 +2,7 @@
 #include "apps.h"
 #include "BigBuf.h"
 #include "util.h"
+#include "usb_cdc.h"   // for usb_poll_validate_length
 
 static void RAMFUNC optimizedSnoop(void);
 
@@ -36,7 +37,7 @@ void HfSnoop(int samplesToSkip, int triggersToSkip)
        // Select correct configs
        FpgaDownloadAndGo(FPGA_BITSTREAM_HF);
        // Set up the synchronous serial port
-       FpgaSetupSsc();
+       FpgaSetupSsc(FPGA_MAJOR_MODE_HF_SNOOP);
        // connect Demodulated Signal to ADC:
        SetAdcMuxFor(GPIO_MUXSEL_HIPKD);
        FpgaWriteConfWord(FPGA_MAJOR_MODE_HF_SNOOP);
Impressum, Datenschutz