Minor cleanup of pause code (#13030)

This commit is contained in:
Giuliano Zaro
2019-01-28 06:10:25 +01:00
committed by Scott Lahteine
parent 0da636e1a3
commit a79d80c78e
3 changed files with 5 additions and 9 deletions

View File

@ -79,8 +79,8 @@ void GcodeSuite::M125() {
#endif
#if HAS_LCD_MENU
lcd_advanced_pause_show_message(ADVANCED_PAUSE_MESSAGE_INIT, ADVANCED_PAUSE_MODE_PAUSE_PRINT);
const bool show_lcd = parser.seenval('P');
lcd_advanced_pause_show_message(ADVANCED_PAUSE_MESSAGE_INIT, ADVANCED_PAUSE_MODE_PAUSE_PRINT, active_extruder);
#else
constexpr bool show_lcd = false;
#endif