diff --git a/armsrc/em4x50.c b/armsrc/em4x50.c index ddc297591..93da6425f 100644 --- a/armsrc/em4x50.c +++ b/armsrc/em4x50.c @@ -192,7 +192,7 @@ static void em4x50_setup_read(void) { // 50ms 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_READER); // start a 1.5ticks is 1us StartTicks(); diff --git a/armsrc/lfadc.c b/armsrc/lfadc.c index 8c453bdc9..2c46f5581 100644 --- a/armsrc/lfadc.c +++ b/armsrc/lfadc.c @@ -181,7 +181,7 @@ void lf_init(bool reader, bool simulate) { SetAdcMuxFor(GPIO_MUXSEL_LOPKD); // Now set up the SSC to get the ADC samples that are now streaming at us. - FpgaSetupSsc(); + FpgaSetupSsc(FPGA_MAJOR_MODE_LF_READER); // When in reader mode, give the field a bit of time to settle. // 313T0 = 313 * 8us = 2504us = 2.5ms Hitag2 tags needs to be fully powered. diff --git a/armsrc/thinfilm.c b/armsrc/thinfilm.c index a77a70744..16c91c8bf 100644 --- a/armsrc/thinfilm.c +++ b/armsrc/thinfilm.c @@ -122,7 +122,7 @@ void SimulateThinFilm(uint8_t *data, size_t len) { FpgaDownloadAndGo(FPGA_BITSTREAM_HF); // Set up the synchronous serial port - FpgaSetupSsc(); + FpgaSetupSsc(FPGA_MAJOR_MODE_HF_READER); // connect Demodulated Signal to ADC: SetAdcMuxFor(GPIO_MUXSEL_HIPKD);