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

Merge pull request #5176 from thinkyhead/rc_filchange_feedback

Give instant feedback for filament change
This commit is contained in:
Scott Lahteine 2016-11-07 12:11:54 -06:00 committed by GitHub
commit 06f2282f82

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();