🧑‍💻 Misc. LCD cleanup

This commit is contained in:
Scott Lahteine
2022-05-12 20:13:59 -05:00
parent 0805f9bf3f
commit cb4ad020af
35 changed files with 109 additions and 91 deletions

View File

@@ -163,10 +163,6 @@ void MenuEditItemBase::goto_edit_screen(
#include "../../MarlinCore.h"
bool printer_busy() {
return planner.movesplanned() || printingIsActive();
}
/**
* General function to go directly to a screen
*/

View File

@@ -30,7 +30,6 @@
extern int8_t encoderLine, encoderTopLine, screen_items;
void scroll_screen(const uint8_t limit, const bool is_menu);
bool printer_busy();
typedef void (*selectFunc_t)();

View File

@@ -29,6 +29,7 @@
#if HAS_MARLINUI_MENU
#include "menu_item.h"
#include "../../MarlinCore.h"
#include "../../module/planner.h"
#if DISABLED(NO_VOLUMETRICS)

View File

@@ -230,7 +230,7 @@
* Mesh Z Offset: --- (Req: MESH_BED_LEVELING)
* Z Probe Offset: --- (Req: HAS_BED_PROBE, Opt: BABYSTEP_ZPROBE_OFFSET)
* Level Bed >
* Level Corners > (if homed)
* Bed Tramming > (if homed)
* Load Settings (Req: EEPROM_SETTINGS)
* Save Settings (Req: EEPROM_SETTINGS)
*/

View File

@@ -30,6 +30,8 @@
#include "menu_item.h"
#include "../../MarlinCore.h"
#if HAS_FILAMENT_SENSOR
#include "../../feature/runout.h"
#endif

View File

@@ -35,6 +35,9 @@
#if HAS_FILAMENT_SENSOR
#include "../../feature/runout.h"
#endif
#if ENABLED(FILAMENT_LOAD_UNLOAD_GCODES)
#include "../../MarlinCore.h"
#endif
//
// Change Filament > Change/Unload/Load Filament