X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/893d0fcc493c9786b553bf9c2455be8a4926bebe..4cdd63b245e34b42df42b384009838020d8fad02:/armsrc/hfsnoop.c?ds=sidebyside diff --git a/armsrc/hfsnoop.c b/armsrc/hfsnoop.c index 6a58b20b..e492c474 100644 --- a/armsrc/hfsnoop.c +++ b/armsrc/hfsnoop.c @@ -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);