Change format string
This commit is contained in:
3 files changed
+6
-6
No files matched your search
+2
-2
@@ -733,11 +733,11 @@ void print_progress(uint64_t count, uint64_t max, barMode_t style) {
|
||||
break;
|
||||
}
|
||||
case STYLE_MIXED: {
|
||||
printf("\b%c[2K\r[" _YELLOW_("=")"] %s [ %zu mV / %2u V / %2u Vmax ]", 27, cbar, count, (uint32_t)(count / 1000), (uint32_t)(max / 1000));
|
||||
printf("\b%c[2K\r[" _YELLOW_("=")"] %s [ %"PRIu64" mV / %2u V / %2u Vmax ]", 27, cbar, count, (uint32_t)(count / 1000), (uint32_t)(max / 1000));
|
||||
break;
|
||||
}
|
||||
case STYLE_VALUE: {
|
||||
printf("[" _YELLOW_("=")"] %zu mV / %2u V / %2u Vmax \r", count, (uint32_t)(count / 1000), (uint32_t)(max / 1000));
|
||||
printf("[" _YELLOW_("=")"] %"PRIu64" mV / %2u V / %2u Vmax \r", count, (uint32_t)(count / 1000), (uint32_t)(max / 1000));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user