Fix permyriad progress bar (#16460)

2.0.x
Justin 5 years ago committed by Scott Lahteine
parent 93e35880ce
commit d70dad6807

@ -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) {

Loading…
Cancel
Save