mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-13 18:57:12 +08:00
fix: print.c on device doesn't have support for formatter %f
This commit is contained in:
parent
271cb3e1cc
commit
98f0e9a284
1 changed files with 5 additions and 5 deletions
|
@ -284,7 +284,7 @@ void MeasureAntennaTuningHf(void) {
|
|||
} else {
|
||||
volt = (MAX_ADC_HF_VOLTAGE_RDV40 * AvgAdc(ADC_CHAN_HF_RDV40)) >> 10;
|
||||
}
|
||||
DbprintfEx(CMD_MEASURE_ANTENNA_TUNING_HF, "%u mV / %5.2f V", volt, volt/1000.0);
|
||||
DbprintfEx(CMD_MEASURE_ANTENNA_TUNING_HF, "%u mV / %5u V", volt, (uint16_t)(volt/1000));
|
||||
}
|
||||
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
|
||||
DbpString("\n[+] cancelled");
|
||||
|
|
Loading…
Reference in a new issue