Update some LCD includes

This commit is contained in:
Scott Lahteine 2020-12-15 01:00:28 -06:00
parent 7243ea549d
commit 637123f340
5 changed files with 7 additions and 2 deletions

View file

@ -26,7 +26,7 @@
#if ENABLED(DGUS_LCD_UI_HIPRECY) #if ENABLED(DGUS_LCD_UI_HIPRECY)
#include "../DGUSDisplayDef.h" #include "DGUSDisplayDef.h"
#include "../DGUSDisplay.h" #include "../DGUSDisplay.h"
#include "../DGUSScreenHandler.h" #include "../DGUSScreenHandler.h"

View file

@ -21,6 +21,8 @@
*/ */
#pragma once #pragma once
#include "../DGUSDisplayDef.h"
enum DGUSLCD_Screens : uint8_t { enum DGUSLCD_Screens : uint8_t {
DGUSLCD_SCREEN_BOOT = 160, DGUSLCD_SCREEN_BOOT = 160,
DGUSLCD_SCREEN_MAIN = 1, DGUSLCD_SCREEN_MAIN = 1,

View file

@ -26,7 +26,7 @@
#if ENABLED(DGUS_LCD_UI_ORIGIN) #if ENABLED(DGUS_LCD_UI_ORIGIN)
#include "../DGUSDisplayDef.h" #include "DGUSDisplayDef.h"
#include "../DGUSDisplay.h" #include "../DGUSDisplay.h"
#include "../DGUSScreenHandler.h" #include "../DGUSScreenHandler.h"

View file

@ -21,6 +21,8 @@
*/ */
#pragma once #pragma once
#include "../DGUSDisplayDef.h"
enum DGUSLCD_Screens : uint8_t { enum DGUSLCD_Screens : uint8_t {
DGUSLCD_SCREEN_BOOT = 0, DGUSLCD_SCREEN_BOOT = 0,
DGUSLCD_SCREEN_MAIN = 10, DGUSLCD_SCREEN_MAIN = 10,

View file

@ -118,6 +118,7 @@
#elif HAS_BUZZER #elif HAS_BUZZER
// Buzz indirectly via the MarlinUI instance // Buzz indirectly via the MarlinUI instance
#include "../lcd/marlinui.h"
#define BUZZ(d,f) ui.buzz(d,f) #define BUZZ(d,f) ui.buzz(d,f)
#else #else