mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
CHG; a fix for "HF TUNE", I always were annoyed with the hf tune where it printed one value per row endlessly. So this fixes that, it uses "\r" to print on the same row. Works on MINGW/WINDOWS. Havn'nt tested it on Linux yet. But it looks good now.
This commit is contained in:
parent
eb891c385e
commit
38e4191705
4 changed files with 57 additions and 36 deletions
|
@ -185,7 +185,15 @@ void UsbCommandReceived(UsbCommand *UC)
|
|||
memset(s, 0x00, sizeof(s));
|
||||
size_t len = MIN(UC->arg[0],USB_CMD_DATA_SIZE);
|
||||
memcpy(s, UC->d.asBytes, len);
|
||||
PrintAndLog("#db# %s", s);
|
||||
|
||||
// test
|
||||
if ( UC->arg[1] == CMD_MEASURE_ANTENNA_TUNING_HF) {
|
||||
printf("\r#db# %s", s);
|
||||
fflush(stdout);
|
||||
}
|
||||
else
|
||||
PrintAndLog("#db# %s", s);
|
||||
|
||||
return;
|
||||
} break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue