Browse Source

🐛 Fix E3V2 width/height defines (#22994)

vanilla_fb_2.0.x
ellensp 3 years ago
committed by Scott Lahteine
parent
commit
e852732ea8
  1. 7
      Marlin/src/lcd/e3v2/common/dwin_api.h
  2. 3
      Marlin/src/lcd/e3v2/creality/dwin_lcd.h
  3. 5
      Marlin/src/lcd/e3v2/marlinui/dwin_lcd.h

7
Marlin/src/lcd/e3v2/common/dwin_api.h

@ -23,10 +23,11 @@
#include "../../../inc/MarlinConfig.h"
#ifndef DWIN_WIDTH
#if ENABLED(DWIN_MARLINUI_LANDSCAPE)
#define DWIN_WIDTH 480
#define DWIN_HEIGHT 272
#else
#define DWIN_WIDTH 272
#endif
#ifndef DWIN_HEIGHT
#define DWIN_HEIGHT 480
#endif

3
Marlin/src/lcd/e3v2/creality/dwin_lcd.h

@ -29,9 +29,6 @@
* @brief
********************************************************************************/
#define DWIN_WIDTH 272
#define DWIN_HEIGHT 480
#include "../common/dwin_api.h"
#include "../common/dwin_set.h"
#include "../common/dwin_font.h"

5
Marlin/src/lcd/e3v2/marlinui/dwin_lcd.h

@ -28,11 +28,6 @@
#include "../../../inc/MarlinConfigPre.h"
#if ENABLED(DWIN_MARLINUI_LANDSCAPE)
#define DWIN_WIDTH 480
#define DWIN_HEIGHT 272
#endif
#include "../common/dwin_api.h"
// Picture ID

Loading…
Cancel
Save