Wrap main menu external declarations

2.0.x
Scott Lahteine 6 years ago
parent da5bdea324
commit 6b2d42434c

@ -35,14 +35,6 @@
#include "../../module/stepper.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_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_temperature();
void menu_configuration();
#if ENABLED(CUSTOM_USER_MENUS)
void menu_user();
#endif
#if ENABLED(ADVANCED_PAUSE_FEATURE)
void menu_temp_e0_filament_change();
void menu_change_filament();
#endif
#if ENABLED(LCD_INFO_MENU)
void menu_info();
#endif
#if ENABLED(LED_CONTROL_MENU)
void menu_led();
#endif
#if ENABLED(MIXING_EXTRUDER)
void menu_mixer();
@ -82,6 +86,8 @@ void menu_led();
#endif
#endif
#if HAS_GAMES
#include "game/game.h"
#if HAS_GAME_MENU
void menu_game();
#elif ENABLED(MARLIN_BRICKOUT)
@ -91,6 +97,7 @@ void menu_led();
#elif ENABLED(MARLIN_SNAKE)
void lcd_goto_snake();
#endif
#endif
void menu_main() {
START_MENU();

Loading…
Cancel
Save