🐛 Fix E3V2 width/height defines (#22994)

This commit is contained in:
ellensp 2021-10-22 17:57:30 +13:00 committed by Scott Lahteine
parent c9718e1ec0
commit e852732ea8
3 changed files with 4 additions and 11 deletions

View File

@ -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

View File

@ -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"

View File

@ -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