diff --git a/Marlin/ultralcd.pde b/Marlin/ultralcd.pde index 4629e2e67f..c1214b59f0 100644 --- a/Marlin/ultralcd.pde +++ b/Marlin/ultralcd.pde @@ -414,7 +414,7 @@ void MainMenu::showStatus() lcd.print(" "); messagetext[0]='\0'; } - +#ifdef SDSUPPORT static uint8_t oldpercent=101; uint8_t percent=card.percentDone(); if(oldpercent!=percent ||force_lcd_update) @@ -423,7 +423,7 @@ void MainMenu::showStatus() lcd.print(itostr3((int)percent)); lcdprintPGM("%SD"); } - +#endif #else //smaller LCDS---------------------------------- static int olddegHotEnd0=-1; static int oldtargetHotEnd0=-1; @@ -478,6 +478,7 @@ enum {ItemP_exit, ItemP_autostart,ItemP_disstep,ItemP_home, ItemP_origin, ItemP_ void MainMenu::showPrepare() { +#ifdef ULTIPANEL uint8_t line=0; clearIfNecessary(); for(int8_t i=lineoffset;i