|
@@ -349,12 +349,14 @@ static void lcd_prepare_menu()
|
349
|
349
|
MENU_ITEM(function, MSG_PREHEAT_PLA, lcd_preheat_pla);
|
350
|
350
|
MENU_ITEM(function, MSG_PREHEAT_ABS, lcd_preheat_abs);
|
351
|
351
|
MENU_ITEM(function, MSG_COOLDOWN, lcd_cooldown);
|
|
352
|
+#if PS_ON_PIN > -1
|
352
|
353
|
if (powersupply)
|
353
|
354
|
{
|
354
|
355
|
MENU_ITEM(gcode, MSG_SWITCH_PS_OFF, PSTR("M81"));
|
355
|
356
|
}else{
|
356
|
357
|
MENU_ITEM(gcode, MSG_SWITCH_PS_ON, PSTR("M80"));
|
357
|
358
|
}
|
|
359
|
+#endif
|
358
|
360
|
MENU_ITEM(submenu, MSG_MOVE_AXIS, lcd_move_menu);
|
359
|
361
|
END_MENU();
|
360
|
362
|
}
|