mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -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
|
@ -53,9 +53,9 @@ static uint16_t FpgaSendQueueDelay;
|
|||
|
||||
static uint16_t ReadReaderField(void) {
|
||||
#if defined RDV4
|
||||
return AvgAdc(ADC_CHAN_HF_RDV40);
|
||||
return SumAdc(ADC_CHAN_HF_RDV40, 32) >> 5;
|
||||
#else
|
||||
return AvgAdc(ADC_CHAN_HF);
|
||||
return SumAdc(ADC_CHAN_HF, 32) >> 5;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue