mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-31 03:50:12 -07:00
prettify tune output
This commit is contained in:
parent
693f7cf770
commit
ad2a97824d
1 changed files with 6 additions and 4 deletions
|
@ -2749,10 +2749,12 @@ void UsbCommandReceived(UsbCommand *c)
|
||||||
vHf = c->ext2 & 0xffff;;
|
vHf = c->ext2 & 0xffff;;
|
||||||
peakf = c->ext3 & 0xffff;
|
peakf = c->ext3 & 0xffff;
|
||||||
peakv = c->ext3 >> 16;
|
peakv = c->ext3 >> 16;
|
||||||
PrintToScrollback("# LF antenna: %.2f V @ 125.00Khz", vLf125/1000.0);
|
PrintToScrollback("");
|
||||||
PrintToScrollback("# LF antenna: %.2f V @ 134.00Khz", vLf134/1000.0);
|
PrintToScrollback("");
|
||||||
PrintToScrollback("# LF optimal: %.2f V @ %.2fKHz", peakv/1000.0, 12000.0/(peakf+1));
|
PrintToScrollback("# LF antenna: %5.2f V @ 125.00 kHz", vLf125/1000.0);
|
||||||
PrintToScrollback("# HF antenna: %.2f V @ 13.56Mhz", vHf/1000.0);
|
PrintToScrollback("# LF antenna: %5.2f V @ 134.00 kHz", vLf134/1000.0);
|
||||||
|
PrintToScrollback("# LF optimal: %5.2f V @%9.2f kHz", peakv/1000.0, 12000.0/(peakf+1));
|
||||||
|
PrintToScrollback("# HF antenna: %5.2f V @ 13.56 MHz", vHf/1000.0);
|
||||||
if (peakv<2000)
|
if (peakv<2000)
|
||||||
PrintToScrollback("# Your LF antenna is unusable.");
|
PrintToScrollback("# Your LF antenna is unusable.");
|
||||||
else if (peakv<10000)
|
else if (peakv<10000)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue