mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
applied theremin patch, adc values are summed, remember to divide when read
This commit is contained in:
parent
61f09d0ec4
commit
9189dc8563
6 changed files with 24 additions and 25 deletions
|
@ -1571,7 +1571,7 @@ void TurnReadLFOn(uint32_t delay) {
|
|||
FpgaWriteConfWord(FPGA_MAJOR_MODE_LF_READER | FPGA_LF_ADC_READER_FIELD);
|
||||
|
||||
// measure antenna strength.
|
||||
//int adcval = ((MAX_ADC_LF_VOLTAGE * AvgAdc(ADC_CHAN_LF)) >> 10);
|
||||
//int adcval = ((MAX_ADC_LF_VOLTAGE * (SumAdc(ADC_CHAN_LF, 32) >> 1)) >> 14);
|
||||
WaitUS(delay);
|
||||
}
|
||||
static void TurnReadLF_off(uint32_t delay) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue