Emulated DOGM via HAL TFT, XPT IO (#19017)
This commit is contained in:
@@ -23,28 +23,28 @@
|
||||
|
||||
#include "../inc/MarlinConfig.h"
|
||||
|
||||
#ifndef FSMC_UPSCALE
|
||||
#define FSMC_UPSCALE 2
|
||||
#ifndef GRAPHICAL_TFT_UPSCALE
|
||||
#define GRAPHICAL_TFT_UPSCALE 2
|
||||
#endif
|
||||
|
||||
#ifndef LCD_FULL_PIXEL_WIDTH
|
||||
#if FSMC_UPSCALE == 3
|
||||
#define LCD_FULL_PIXEL_WIDTH 480
|
||||
#ifndef TFT_WIDTH
|
||||
#if GRAPHICAL_TFT_UPSCALE == 3
|
||||
#define TFT_WIDTH 480
|
||||
#else
|
||||
#define LCD_FULL_PIXEL_WIDTH 320
|
||||
#define TFT_WIDTH 320
|
||||
#endif
|
||||
#endif
|
||||
#ifndef LCD_FULL_PIXEL_HEIGHT
|
||||
#if FSMC_UPSCALE == 3
|
||||
#define LCD_FULL_PIXEL_HEIGHT 320
|
||||
#ifndef TFT_HEIGHT
|
||||
#if GRAPHICAL_TFT_UPSCALE == 3
|
||||
#define TFT_HEIGHT 320
|
||||
#else
|
||||
#define LCD_FULL_PIXEL_HEIGHT 240
|
||||
#define TFT_HEIGHT 240
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef LCD_PIXEL_OFFSET_X
|
||||
#define LCD_PIXEL_OFFSET_X 48
|
||||
#ifndef TFT_PIXEL_OFFSET_X
|
||||
#define TFT_PIXEL_OFFSET_X 48
|
||||
#endif
|
||||
#ifndef LCD_PIXEL_OFFSET_Y
|
||||
#define LCD_PIXEL_OFFSET_Y 48
|
||||
#ifndef TFT_PIXEL_OFFSET_Y
|
||||
#define TFT_PIXEL_OFFSET_Y 48
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user