From 02b9eceead9903beb9e1cf7d48f05fc2de8a8e8a Mon Sep 17 00:00:00 2001 From: Bernhard Kubicek Date: Tue, 15 Nov 2011 20:55:00 +0100 Subject: [PATCH] show sd% --- Marlin/ultralcd.pde | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Marlin/ultralcd.pde b/Marlin/ultralcd.pde index 1bf225641a..51a3c46f9c 100644 --- a/Marlin/ultralcd.pde +++ b/Marlin/ultralcd.pde @@ -377,11 +377,12 @@ void MainMenu::showStatus() static uint8_t oldpercent=101; uint8_t percent=card.percentDone(); - if(oldpercent!=percent) + if(oldpercent!=percent ||force_lcd_update) { - lcd.setCursor(6,3); - lcd.print(oldpercent); - lcdprintPGM("done"); + lcd.setCursor(7,2); + lcd.print(itostr3((int)percent)); + lcdprintPGM("%SD"); + } #else //smaller LCDS----------------------------------