|
@@ -456,7 +456,7 @@ void MainMenu::showStatus()
|
456
|
456
|
force_lcd_update=false;
|
457
|
457
|
}
|
458
|
458
|
|
459
|
|
-enum {ItemP_exit, ItemP_autostart,ItemP_disstep,ItemP_home, ItemP_origin, ItemP_preheat, ItemP_cooldown,/*ItemP_extrude,*/ItemP_move};
|
|
459
|
+enum {ItemP_exit, ItemP_autostart,ItemP_disstep,ItemP_home, ItemP_origin, ItemP_preheat_pla, ItemP_preheat_abs, ItemP_cooldown,/*ItemP_extrude,*/ItemP_move};
|
460
|
460
|
|
461
|
461
|
//any action must not contain a ',' character anywhere, or this breaks:
|
462
|
462
|
#define MENUITEM(repaint_action, click_action) \
|
|
@@ -489,8 +489,11 @@ void MainMenu::showPrepare()
|
489
|
489
|
case ItemP_origin:
|
490
|
490
|
MENUITEM( lcdprintPGM(MSG_SET_ORIGIN) , BLOCK;enquecommand("G92 X0 Y0 Z0");beepshort(); ) ;
|
491
|
491
|
break;
|
492
|
|
- case ItemP_preheat:
|
493
|
|
- MENUITEM( lcdprintPGM(MSG_PREHEAT) , BLOCK;setTargetHotend0(170);setTargetBed(70);beepshort(); ) ;
|
|
492
|
+ case ItemP_preheat_pla:
|
|
493
|
+ MENUITEM( lcdprintPGM(MSG_PREHEAT_PLA) , BLOCK;setTargetHotend0(PLA_PREHEAT_HOTEND_TEMP);setTargetBed(PLA_PREHEAT_HPB_TEMP);beepshort(); ) ;
|
|
494
|
+ break;
|
|
495
|
+ case ItemP_preheat_abs:
|
|
496
|
+ MENUITEM( lcdprintPGM(MSG_PREHEAT_ABS) , BLOCK;setTargetHotend0(ABS_PREHEAT_HOTEND_TEMP);setTargetBed(ABS_PREHEAT_HPB_TEMP);beepshort(); ) ;
|
494
|
497
|
break;
|
495
|
498
|
case ItemP_cooldown:
|
496
|
499
|
MENUITEM( lcdprintPGM(MSG_COOLDOWN) , BLOCK;setTargetHotend0(0);setTargetBed(0);beepshort(); ) ;
|