1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-27 13:56:24 +00:00

Give instant feedback for filament change

This commit is contained in:
Scott Lahteine 2016-11-07 03:16:05 -06:00
parent 5aee8d892c
commit 7780052fb3

View File

@ -715,6 +715,13 @@ void kill_screen(const char* lcd_msg) {
#endif
#endif
#if ENABLED(FILAMENT_CHANGE_FEATURE)
static void lcd_enqueue_filament_change() {
lcd_filament_change_show_message(FILAMENT_CHANGE_MESSAGE_INIT);
enqueue_and_echo_commands_P(PSTR("M600"));
}
#endif
/**
*
* "Tune" submenu
@ -830,7 +837,7 @@ void kill_screen(const char* lcd_msg) {
// Change filament
//
#if ENABLED(FILAMENT_CHANGE_FEATURE)
MENU_ITEM(gcode, MSG_FILAMENTCHANGE, PSTR("M600"));
MENU_ITEM(function, MSG_FILAMENTCHANGE, lcd_enqueue_filament_change);
#endif
END_MENU();