🐛 Fix E3V2 width/height defines (#22994)
This commit is contained in:
		@@ -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
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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"
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user