mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-03-19 19:38:52 +08:00
FIX: 'hw tune' - peakf shouldn't be compare with voltages limits :)
This commit is contained in:
parent
bb52291837
commit
efbf81da52
1 changed files with 1 additions and 1 deletions
|
@ -2256,7 +2256,7 @@ int CmdTuneSamples(const char *Cmd)
|
|||
PrintAndLog("# LF antenna: %5.2f V @ 125.00 kHz", vLf125/1000.0);
|
||||
if ( vLf134 > NON_VOLTAGE )
|
||||
PrintAndLog("# LF antenna: %5.2f V @ 134.00 kHz", vLf134/1000.0);
|
||||
if ( peakv > NON_VOLTAGE && peakf > NON_VOLTAGE )
|
||||
if ( peakv > NON_VOLTAGE && peakf > 0 )
|
||||
PrintAndLog("# LF optimal: %5.2f V @%9.2f kHz", peakv/1000.0, 12000.0/(peakf+1));
|
||||
if ( vHf > NON_VOLTAGE )
|
||||
PrintAndLog("# HF antenna: %5.2f V @ 13.56 MHz", vHf/1000.0);
|
||||
|
|
Loading…
Add table
Reference in a new issue