Wrap main menu external declarations
This commit is contained in:
parent
da5bdea324
commit
6b2d42434c
@ -35,14 +35,6 @@
|
|||||||
#include "../../module/stepper.h"
|
#include "../../module/stepper.h"
|
||||||
#include "../../sd/cardreader.h"
|
#include "../../sd/cardreader.h"
|
||||||
|
|
||||||
#if ENABLED(POWER_LOSS_RECOVERY)
|
|
||||||
#include "../../feature/power_loss_recovery.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HAS_GAMES
|
|
||||||
#include "game/game.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define MACHINE_CAN_STOP (EITHER(SDSUPPORT, HOST_PROMPT_SUPPORT) || defined(ACTION_ON_CANCEL))
|
#define MACHINE_CAN_STOP (EITHER(SDSUPPORT, HOST_PROMPT_SUPPORT) || defined(ACTION_ON_CANCEL))
|
||||||
#define MACHINE_CAN_PAUSE (ANY(SDSUPPORT, HOST_PROMPT_SUPPORT, PARK_HEAD_ON_PAUSE) || defined(ACTION_ON_PAUSE))
|
#define MACHINE_CAN_PAUSE (ANY(SDSUPPORT, HOST_PROMPT_SUPPORT, PARK_HEAD_ON_PAUSE) || defined(ACTION_ON_PAUSE))
|
||||||
|
|
||||||
@ -60,11 +52,23 @@ void menu_tune();
|
|||||||
void menu_motion();
|
void menu_motion();
|
||||||
void menu_temperature();
|
void menu_temperature();
|
||||||
void menu_configuration();
|
void menu_configuration();
|
||||||
|
|
||||||
|
#if ENABLED(CUSTOM_USER_MENUS)
|
||||||
void menu_user();
|
void menu_user();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(ADVANCED_PAUSE_FEATURE)
|
||||||
void menu_temp_e0_filament_change();
|
void menu_temp_e0_filament_change();
|
||||||
void menu_change_filament();
|
void menu_change_filament();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(LCD_INFO_MENU)
|
||||||
void menu_info();
|
void menu_info();
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if ENABLED(LED_CONTROL_MENU)
|
||||||
void menu_led();
|
void menu_led();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if ENABLED(MIXING_EXTRUDER)
|
#if ENABLED(MIXING_EXTRUDER)
|
||||||
void menu_mixer();
|
void menu_mixer();
|
||||||
@ -82,6 +86,8 @@ void menu_led();
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if HAS_GAMES
|
||||||
|
#include "game/game.h"
|
||||||
#if HAS_GAME_MENU
|
#if HAS_GAME_MENU
|
||||||
void menu_game();
|
void menu_game();
|
||||||
#elif ENABLED(MARLIN_BRICKOUT)
|
#elif ENABLED(MARLIN_BRICKOUT)
|
||||||
@ -91,6 +97,7 @@ void menu_led();
|
|||||||
#elif ENABLED(MARLIN_SNAKE)
|
#elif ENABLED(MARLIN_SNAKE)
|
||||||
void lcd_goto_snake();
|
void lcd_goto_snake();
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
void menu_main() {
|
void menu_main() {
|
||||||
START_MENU();
|
START_MENU();
|
||||||
|
Loading…
Reference in New Issue
Block a user