Skip to content

Commit

Permalink
🩹 Fix Ender-3 S1 Plus build
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Aug 26, 2024
1 parent 4c1f765 commit bb73c33
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/inc/Conditionals_LCD.h
Original file line number Diff line number Diff line change
Expand Up @@ -1206,7 +1206,7 @@
#if !HAS_MARLINUI_HD44780
#undef LCD_INFO_SCREEN_STYLE
#endif
#if NONE(HAS_MARLINUI_U8GLIB, HAS_TFT_LVGL_UI)
#if NONE(HAS_MARLINUI_U8GLIB, HAS_TFT_LVGL_UI, DGUS_LCD_UI_E3S1PRO)
#undef LCD_LANGUAGE
#endif

Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/lcd/extui/dgus_e3s1pro/DGUSSDCardHandler.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#pragma once

#include <inttypes.h>
#include "../../../sd/cardreader.h"
#include "../../../sd/SdFatConfig.h"

#define DGUS_E3S1PRO_BASIC_SDCARD_MAX_FILES 20
#define DGUS_E3S1PRO_BASIC_SDCARD_FILES_PER_PAGE 5
Expand Down
7 changes: 7 additions & 0 deletions Marlin/src/lcd/extui/dgus_e3s1pro/config/DGUS_Data.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@

#include <inttypes.h>

#include "../../../../inc/MarlinConfigPre.h"

#ifndef LCD_LANGUAGE
#define LCD_LANGUAGE en
#warning "LCD_LANGUAGE not defined, defaulting to English."
#endif

namespace DGUS_Data {

// RX constants
Expand Down

0 comments on commit bb73c33

Please sign in to comment.