|
@@ -446,7 +446,7 @@ void MainMenu::showStatus()
|
446
|
446
|
force_lcd_update=false;
|
447
|
447
|
}
|
448
|
448
|
|
449
|
|
-enum {ItemP_exit, ItemP_autostart,ItemP_disstep,ItemP_home, ItemP_origin, ItemP_preheat, ItemP_extrude};
|
|
449
|
+enum {ItemP_exit, ItemP_autostart,ItemP_disstep,ItemP_home, ItemP_origin, ItemP_preheat, ItemP_cooldown,ItemP_extrude};
|
450
|
450
|
|
451
|
451
|
//any action must not contain a ',' character anywhere, or this breaks:
|
452
|
452
|
#define MENUITEM(repaint_action, click_action) \
|
|
@@ -480,7 +480,10 @@ void MainMenu::showPrepare()
|
480
|
480
|
MENUITEM( lcdprintPGM(" Set Origin") , BLOCK;enquecommand("G92 X0 Y0 Z0");beepshort(); ) ;
|
481
|
481
|
break;
|
482
|
482
|
case ItemP_preheat:
|
483
|
|
- MENUITEM( lcdprintPGM(" Preheat") , BLOCK;setTargetHotend0(170);beepshort(); ) ;
|
|
483
|
+ MENUITEM( lcdprintPGM(" Preheat") , BLOCK;setTargetHotend0(170);setTargetBed(70);beepshort(); ) ;
|
|
484
|
+ break;
|
|
485
|
+ case ItemP_cooldown:
|
|
486
|
+ MENUITEM( lcdprintPGM(" Cooldown") , BLOCK;setTargetHotend0(0);setTargetBed(0);beepshort(); ) ;
|
484
|
487
|
break;
|
485
|
488
|
case ItemP_extrude:
|
486
|
489
|
MENUITEM( lcdprintPGM(" Extrude") , BLOCK;enquecommand("G92 E0");enquecommand("G1 F700 E50");beepshort(); ) ;
|