Fix permyriad progress bar (#16460)

This commit is contained in:
Justin 2020-01-05 02:08:24 -06:00 committed by Scott Lahteine
parent 93e35880ce
commit d70dad6807

View File

@ -438,7 +438,7 @@ void MarlinUI::draw_status_screen() {
if (p != lastProgress) {
lastProgress = p;
progress_bar_solid_width = u8g_uint_t((PROGRESS_BAR_WIDTH - 2) * progress / (PROGRESS_SCALE) * 0.01f);
progress_bar_solid_width = u8g_uint_t((PROGRESS_BAR_WIDTH - 2) * (progress / (PROGRESS_SCALE)) * 0.01f);
#if ENABLED(DOGM_SD_PERCENT)
if (progress == 0) {