Anet ET4 / ET4P and Anet TFT28 / TFT35 (#20280)

This commit is contained in:
Keith Bennett
2020-12-22 04:51:29 -08:00
committed by GitHub
parent 08dcd1f680
commit a0c8d348a0
17 changed files with 407 additions and 84 deletions

View File

@@ -30,6 +30,13 @@
#include "../../inc/MarlinConfig.h"
#if TFT_INTERFACE_FSMC_8BIT
// When we have a 8 bit interface, we need to invert the bytes of the color
#define ENDIAN_COLOR(C) (((C) >> 8) | ((C) << 8))
#else
#define ENDIAN_COLOR(C) (C)
#endif
#if HAS_UI_320x240
#define TFT_WIDTH 320
#define TFT_HEIGHT 240