Remote streamer improvements (#12982)
This commit is contained in:
committed by
Scott Lahteine
parent
621fbe99de
commit
48a3502656
@@ -323,8 +323,10 @@ bool pause_print(const float &retract, const point_t &park_point, const float &u
|
||||
|
||||
if (did_pause_print) return false; // already paused
|
||||
|
||||
#ifdef ACTION_ON_PAUSE
|
||||
SERIAL_ECHOLNPGM("//action:" ACTION_ON_PAUSE);
|
||||
#ifdef ACTION_ON_PAUSED
|
||||
host_action_paused();
|
||||
#elif defined(ACTION_ON_PAUSE)
|
||||
host_action_pause();
|
||||
#endif
|
||||
|
||||
#if HAS_LCD_MENU
|
||||
@@ -570,8 +572,10 @@ void resume_print(const float &slow_load_length/*=0*/, const float &fast_load_le
|
||||
lcd_advanced_pause_show_message(ADVANCED_PAUSE_MESSAGE_STATUS);
|
||||
#endif
|
||||
|
||||
#ifdef ACTION_ON_RESUME
|
||||
SERIAL_ECHOLNPGM("//action:" ACTION_ON_RESUME);
|
||||
#ifdef ACTION_ON_RESUMED
|
||||
host_action_resumed();
|
||||
#elif defined(ACTION_ON_RESUME)
|
||||
host_action_resume();
|
||||
#endif
|
||||
|
||||
--did_pause_print;
|
||||
|
Reference in New Issue
Block a user