qwewer0
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
3 additions and
2 deletions
-
Marlin/Configuration_adv.h
-
Marlin/src/lcd/menu/menu_main.cpp
|
@ -3232,6 +3232,7 @@ |
|
|
//#define HOST_ACTION_COMMANDS
|
|
|
//#define HOST_ACTION_COMMANDS
|
|
|
#if ENABLED(HOST_ACTION_COMMANDS) |
|
|
#if ENABLED(HOST_ACTION_COMMANDS) |
|
|
//#define HOST_PROMPT_SUPPORT
|
|
|
//#define HOST_PROMPT_SUPPORT
|
|
|
|
|
|
//#define HOST_START_MENU_ITEM // Add a menu item that tells the host to start
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
/**
|
|
|
/**
|
|
|
|
@ -54,7 +54,7 @@ |
|
|
#include "../../feature/password/password.h" |
|
|
#include "../../feature/password/password.h" |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#ifdef ACTION_ON_START |
|
|
#if ENABLED(HOST_START_MENU_ITEM) && defined(ACTION_ON_START) |
|
|
#include "../../feature/host_actions.h" |
|
|
#include "../../feature/host_actions.h" |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
@ -162,7 +162,7 @@ void menu_main() { |
|
|
if (TERN0(MACHINE_CAN_PAUSE, printingIsPaused())) |
|
|
if (TERN0(MACHINE_CAN_PAUSE, printingIsPaused())) |
|
|
ACTION_ITEM(MSG_RESUME_PRINT, ui.resume_print); |
|
|
ACTION_ITEM(MSG_RESUME_PRINT, ui.resume_print); |
|
|
|
|
|
|
|
|
#ifdef ACTION_ON_START |
|
|
#if ENABLED(HOST_START_MENU_ITEM) && defined(ACTION_ON_START) |
|
|
ACTION_ITEM(MSG_HOST_START_PRINT, host_action_start); |
|
|
ACTION_ITEM(MSG_HOST_START_PRINT, host_action_start); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|