|
@@ -49,9 +49,11 @@
|
49
|
49
|
#define ILI9328_GATE_SCANCTL1_DATA 0x2700
|
50
|
50
|
#endif
|
51
|
51
|
|
52
|
|
-// #define ILI9328_ETMOD_ORIENTATION IF_0((TFT_ORIENTATION) & TFT_EXCHANGE_XY, ILI9328_ETMOD_AM) | \
|
53
|
|
-// IF_0((TFT_ORIENTATION) & TFT_INVERT_X, ILI9328_ETMOD_ID1) | \
|
54
|
|
-// IF_0((TFT_ORIENTATION) & TFT_INVERT_Y, ILI9328_ETMOD_ID0)
|
|
52
|
+/*
|
|
53
|
+#define ILI9328_ETMOD_ORIENTATION IF_0((TFT_ORIENTATION) & TFT_EXCHANGE_XY, ILI9328_ETMOD_AM) | \
|
|
54
|
+ IF_0((TFT_ORIENTATION) & TFT_INVERT_X, ILI9328_ETMOD_ID1) | \
|
|
55
|
+ IF_0((TFT_ORIENTATION) & TFT_INVERT_Y, ILI9328_ETMOD_ID0)
|
|
56
|
+*/
|
55
|
57
|
|
56
|
58
|
#define ILI9328_ETMOD_ORIENTATION (ILI9328_ETMOD_AM | ILI9328_ETMOD_ID1 | ILI9328_ETMOD_ID0)
|
57
|
59
|
|