mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 22:03:42 -07:00
added 3 spaces to compensate when voltage goes to one digit
This commit is contained in:
parent
cbd46913a8
commit
82ffd54f09
1 changed files with 2 additions and 2 deletions
|
@ -710,12 +710,12 @@ void print_progress(size_t count, uint64_t max, barMode_t style) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case STYLE_MIXED: {
|
case STYLE_MIXED: {
|
||||||
sprintf(buffer, "%s [ %zu mV / %2u V / %2u Vmax ]", cbar, count, (uint32_t)(count / 1000), (uint32_t)(max / 1000));
|
sprintf(buffer, "%s [ %zu mV / %2u V / %2u Vmax ] ", cbar, count, (uint32_t)(count / 1000), (uint32_t)(max / 1000));
|
||||||
printf("\b%c[2K\r[" _YELLOW_("=")"] %s ", 27, buffer);
|
printf("\b%c[2K\r[" _YELLOW_("=")"] %s ", 27, buffer);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case STYLE_VALUE: {
|
case STYLE_VALUE: {
|
||||||
printf("[" _YELLOW_("=")"] %zu mV / %2u V / %2u Vmax\r", count, (uint32_t)(count / 1000), (uint32_t)(max / 1000));
|
printf("[" _YELLOW_("=")"] %zu mV / %2u V / %2u Vmax \r", count, (uint32_t)(count / 1000), (uint32_t)(max / 1000));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue