Merge pull request #1512 from litruv/dev

Refactor display scaling definitions for HELTEC_VISION_MASTER_T190
This commit is contained in:
ripplebiz 2026-02-01 13:33:53 +11:00 committed by GitHub
commit f231347131
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,8 +10,13 @@
#define Y_OFFSET 1 // Vertical offset to prevent top row cutoff
#endif
#define SCALE_X 1.875f // 240 / 128
#define SCALE_Y 2.109375f // 135 / 64
#ifdef HELTEC_VISION_MASTER_T190
#define SCALE_X 2.5f // 320 / 128
#define SCALE_Y 2.65625f // 170 / 64
#else
#define SCALE_X 1.875f // 240 / 128
#define SCALE_Y 2.109375f // 135 / 64
#endif
bool ST7789Display::begin() {
if(!_isOn) {