Merge pull request #4389 from thinkyhead/rc_optimize_planner

Optimize planner with precalculation, etc.
This commit is contained in:
Scott Lahteine
2016-07-24 17:48:23 -07:00
committed by GitHub
9 changed files with 116 additions and 83 deletions

View File

@@ -385,7 +385,7 @@ static void lcd_implementation_status_screen() {
// SD Card Progress bar and clock
if (IS_SD_PRINTING) {
// Progress bar solid part
u8g.drawBox(55, 50, (unsigned int)(71.f * card.percentDone() / 100.f), 2 - (TALL_FONT_CORRECTION));
u8g.drawBox(55, 50, (unsigned int)(71 * card.percentDone() * 0.01), 2 - (TALL_FONT_CORRECTION));
}
u8g.setPrintPos(80,48);