chg: hitag refactoring (@anon)

This commit is contained in:
iceman1001 committed 2020-01-01 18:18:34 +01:00
1 parent 7536bb28f5
commit 21ffdec1cd
7 files changed
+95 -56

No files matched your search

+1 -1
View File
@@ -104,7 +104,7 @@ void LFSetupFPGAForADC(int divisor, bool lf_field) {
else
FpgaSendCommand(FPGA_CMD_SET_DIVISOR, divisor);
FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_ADC | (lf_field ? FPGA_LF_ADC_READER_FIELD : 0));
FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_READER | (lf_field ? FPGA_LF_ADC_READER_FIELD : 0));
// Connect the A/D to the peak-detected low-frequency path.
SetAdcMuxFor(GPIO_MUXSEL_LOPKD);