|
@ -456,7 +456,7 @@ void MainMenu::showPrepare() |
|
|
switch(i) |
|
|
switch(i) |
|
|
{ |
|
|
{ |
|
|
case ItemP_exit: |
|
|
case ItemP_exit: |
|
|
MENUITEM( lcdprintPGM(" Prepare") , BLOCK;status=Main_Menu;beepshort(); ) ; |
|
|
MENUITEM( lcdprintPGM(" Main \003") , BLOCK;status=Main_Menu;beepshort(); ) ; |
|
|
break; |
|
|
break; |
|
|
case ItemP_home: |
|
|
case ItemP_home: |
|
|
MENUITEM( lcdprintPGM(" Auto Home") , BLOCK;enquecommand("G28 X-105 Y-105 Z0");beepshort(); ) ; |
|
|
MENUITEM( lcdprintPGM(" Auto Home") , BLOCK;enquecommand("G28 X-105 Y-105 Z0");beepshort(); ) ; |
|
@ -493,7 +493,7 @@ void MainMenu::showTune() |
|
|
switch(i) |
|
|
switch(i) |
|
|
{ |
|
|
{ |
|
|
case ItemT_exit: |
|
|
case ItemT_exit: |
|
|
MENUITEM( lcdprintPGM(" Tune") , BLOCK;status=Main_Menu;beepshort(); ) ; |
|
|
MENUITEM( lcdprintPGM(" Main \003") , BLOCK;status=Main_Menu;beepshort(); ) ; |
|
|
break; |
|
|
break; |
|
|
case ItemT_speed: |
|
|
case ItemT_speed: |
|
|
{ |
|
|
{ |
|
@ -673,7 +673,7 @@ void MainMenu::showControlTemp() |
|
|
switch(i) |
|
|
switch(i) |
|
|
{ |
|
|
{ |
|
|
case ItemCT_exit: |
|
|
case ItemCT_exit: |
|
|
MENUITEM( lcdprintPGM(" Temperature") , BLOCK;status=Main_Control;beepshort(); ) ; |
|
|
MENUITEM( lcdprintPGM(" Control \003") , BLOCK;status=Main_Control;beepshort(); ) ; |
|
|
break; |
|
|
break; |
|
|
case ItemCT_nozzle: |
|
|
case ItemCT_nozzle: |
|
|
{ |
|
|
{ |
|
@ -915,7 +915,7 @@ void MainMenu::showControlMotion() |
|
|
switch(i) |
|
|
switch(i) |
|
|
{ |
|
|
{ |
|
|
case ItemCM_exit: |
|
|
case ItemCM_exit: |
|
|
MENUITEM( lcdprintPGM(" Motion") , BLOCK;status=Main_Control;beepshort(); ) ; |
|
|
MENUITEM( lcdprintPGM(" Control \003") , BLOCK;status=Main_Control;beepshort(); ) ; |
|
|
break; |
|
|
break; |
|
|
case ItemCM_acc: |
|
|
case ItemCM_acc: |
|
|
{ |
|
|
{ |
|
@ -1230,7 +1230,7 @@ void MainMenu::showControl() |
|
|
switch(i) |
|
|
switch(i) |
|
|
{ |
|
|
{ |
|
|
case ItemC_exit: |
|
|
case ItemC_exit: |
|
|
MENUITEM( lcdprintPGM(" Control \x7E") , BLOCK;status=Main_Menu;beepshort(); ) ; |
|
|
MENUITEM( lcdprintPGM(" Main \003") , BLOCK;status=Main_Menu;beepshort(); ) ; |
|
|
break; |
|
|
break; |
|
|
case ItemC_temp: |
|
|
case ItemC_temp: |
|
|
MENUITEM( lcdprintPGM(" Temperature \x7E") , BLOCK;status=Sub_TempControl;beepshort(); ) ; |
|
|
MENUITEM( lcdprintPGM(" Temperature \x7E") , BLOCK;status=Sub_TempControl;beepshort(); ) ; |
|
@ -1317,7 +1317,7 @@ void MainMenu::showSD() |
|
|
switch(i) |
|
|
switch(i) |
|
|
{ |
|
|
{ |
|
|
case 0: |
|
|
case 0: |
|
|
MENUITEM( lcdprintPGM(" File") , BLOCK;status=Main_Menu;beepshort(); ) ; |
|
|
MENUITEM( lcdprintPGM(" Main \003") , BLOCK;status=Main_Menu;beepshort(); ) ; |
|
|
break; |
|
|
break; |
|
|
// case 1: |
|
|
// case 1: |
|
|
// { |
|
|
// { |
|
@ -1348,7 +1348,7 @@ void MainMenu::showSD() |
|
|
// } |
|
|
// } |
|
|
// }break; |
|
|
// }break; |
|
|
case 1: |
|
|
case 1: |
|
|
MENUITEM( lcdprintPGM(" ..") , BLOCK;card.updir();enforceupdate=true;lineoffset=0;beepshort(); ) ; |
|
|
MENUITEM( lcd.print(" ");card.getWorkDirName();if(card.filename[0]=='/') lcdprintPGM("\004Refresh");else {lcd.print("\005");lcd.print(card.filename);lcd.print("/..");} , BLOCK;card.updir();enforceupdate=true;lineoffset=0;beepshort(); ) ; |
|
|
|
|
|
|
|
|
break; |
|
|
break; |
|
|
default: |
|
|
default: |
|
@ -1435,7 +1435,7 @@ void MainMenu::showMainMenu() |
|
|
switch(line) |
|
|
switch(line) |
|
|
{ |
|
|
{ |
|
|
case ItemM_watch: |
|
|
case ItemM_watch: |
|
|
MENUITEM( lcdprintPGM(" Watch") , BLOCK;status=Main_Status;beepshort(); ) ; |
|
|
MENUITEM( lcdprintPGM(" Watch \003") , BLOCK;status=Main_Status;beepshort(); ) ; |
|
|
break; |
|
|
break; |
|
|
case ItemM_prepare: |
|
|
case ItemM_prepare: |
|
|
MENUITEM( if(!tune) lcdprintPGM(" Prepare \x7E");else lcdprintPGM(" Tune \x7E"); , BLOCK;status=Main_Prepare;beepshort(); ) ; |
|
|
MENUITEM( if(!tune) lcdprintPGM(" Prepare \x7E");else lcdprintPGM(" Tune \x7E"); , BLOCK;status=Main_Prepare;beepshort(); ) ; |
|
|