|
@@ -414,7 +414,7 @@ void MainMenu::showStatus()
|
414
|
414
|
lcd.print(" ");
|
415
|
415
|
messagetext[0]='\0';
|
416
|
416
|
}
|
417
|
|
-
|
|
417
|
+#ifdef SDSUPPORT
|
418
|
418
|
static uint8_t oldpercent=101;
|
419
|
419
|
uint8_t percent=card.percentDone();
|
420
|
420
|
if(oldpercent!=percent ||force_lcd_update)
|
|
@@ -423,7 +423,7 @@ void MainMenu::showStatus()
|
423
|
423
|
lcd.print(itostr3((int)percent));
|
424
|
424
|
lcdprintPGM("%SD");
|
425
|
425
|
}
|
426
|
|
-
|
|
426
|
+#endif
|
427
|
427
|
#else //smaller LCDS----------------------------------
|
428
|
428
|
static int olddegHotEnd0=-1;
|
429
|
429
|
static int oldtargetHotEnd0=-1;
|
|
@@ -478,6 +478,7 @@ enum {ItemP_exit, ItemP_autostart,ItemP_disstep,ItemP_home, ItemP_origin, ItemP_
|
478
|
478
|
|
479
|
479
|
void MainMenu::showPrepare()
|
480
|
480
|
{
|
|
481
|
+#ifdef ULTIPANEL
|
481
|
482
|
uint8_t line=0;
|
482
|
483
|
clearIfNecessary();
|
483
|
484
|
for(int8_t i=lineoffset;i<lineoffset+LCD_HEIGHT;i++)
|
|
@@ -533,6 +534,7 @@ void MainMenu::showPrepare()
|
533
|
534
|
line++;
|
534
|
535
|
}
|
535
|
536
|
updateActiveLines(ItemP_move,encoderpos);
|
|
537
|
+#endif
|
536
|
538
|
}
|
537
|
539
|
|
538
|
540
|
enum {
|
|
@@ -1981,6 +1983,7 @@ void MainMenu::showSD()
|
1981
|
1983
|
#endif
|
1982
|
1984
|
}
|
1983
|
1985
|
|
|
1986
|
+
|
1984
|
1987
|
enum {ItemM_watch, ItemM_prepare, ItemM_control, ItemM_file };
|
1985
|
1988
|
void MainMenu::showMainMenu()
|
1986
|
1989
|
{
|