🐛 Fix E3V2 width/height defines (#22994)
This commit is contained in:
parent
c9718e1ec0
commit
e852732ea8
|
@ -23,10 +23,11 @@
|
||||||
|
|
||||||
#include "../../../inc/MarlinConfig.h"
|
#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
|
#define DWIN_WIDTH 272
|
||||||
#endif
|
|
||||||
#ifndef DWIN_HEIGHT
|
|
||||||
#define DWIN_HEIGHT 480
|
#define DWIN_HEIGHT 480
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -29,9 +29,6 @@
|
||||||
* @brief 迪文屏控制操作函数
|
* @brief 迪文屏控制操作函数
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
|
|
||||||
#define DWIN_WIDTH 272
|
|
||||||
#define DWIN_HEIGHT 480
|
|
||||||
|
|
||||||
#include "../common/dwin_api.h"
|
#include "../common/dwin_api.h"
|
||||||
#include "../common/dwin_set.h"
|
#include "../common/dwin_set.h"
|
||||||
#include "../common/dwin_font.h"
|
#include "../common/dwin_font.h"
|
||||||
|
|
|
@ -28,11 +28,6 @@
|
||||||
|
|
||||||
#include "../../../inc/MarlinConfigPre.h"
|
#include "../../../inc/MarlinConfigPre.h"
|
||||||
|
|
||||||
#if ENABLED(DWIN_MARLINUI_LANDSCAPE)
|
|
||||||
#define DWIN_WIDTH 480
|
|
||||||
#define DWIN_HEIGHT 272
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "../common/dwin_api.h"
|
#include "../common/dwin_api.h"
|
||||||
|
|
||||||
// Picture ID
|
// Picture ID
|
||||||
|
|
Loading…
Reference in a new issue