We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 852c0b0 + dd2a904 commit f231347Copy full SHA for f231347
1 file changed
src/helpers/ui/ST7789Display.cpp
@@ -10,8 +10,13 @@
10
#define Y_OFFSET 1 // Vertical offset to prevent top row cutoff
11
#endif
12
13
-#define SCALE_X 1.875f // 240 / 128
14
-#define SCALE_Y 2.109375f // 135 / 64
+#ifdef HELTEC_VISION_MASTER_T190
+ #define SCALE_X 2.5f // 320 / 128
15
+ #define SCALE_Y 2.65625f // 170 / 64
16
+#else
17
+ #define SCALE_X 1.875f // 240 / 128
18
+ #define SCALE_Y 2.109375f // 135 / 64
19
+#endif
20
21
bool ST7789Display::begin() {
22
if(!_isOn) {
0 commit comments