Host Action: Start (#19398)

This commit is contained in:
InsanityAutomation
2020-09-17 07:36:21 -04:00
committed by Scott Lahteine
parent 70c5871910
commit 23376b8a31
5 changed files with 18 additions and 0 deletions

View File

@ -62,6 +62,9 @@ void host_action(PGM_P const pstr, const bool eol) {
#ifdef ACTION_ON_CANCEL
void host_action_cancel() { host_action(PSTR(ACTION_ON_CANCEL)); }
#endif
#ifdef ACTION_ON_START
void host_action_start() { host_action(PSTR(ACTION_ON_START)); }
#endif
#if ENABLED(HOST_PROMPT_SUPPORT)

View File

@ -44,6 +44,9 @@ void host_action(PGM_P const pstr, const bool eol=true);
#ifdef ACTION_ON_CANCEL
void host_action_cancel();
#endif
#ifdef ACTION_ON_START
void host_action_start();
#endif
#if ENABLED(HOST_PROMPT_SUPPORT)