mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Refactor display scaling definitions for HELTEC_VISION_MASTER_T190
This commit is contained in:
parent
93367b9f8f
commit
dd2a9044f3
1 changed files with 7 additions and 2 deletions
|
|
@ -10,8 +10,13 @@
|
||||||
#define Y_OFFSET 1 // Vertical offset to prevent top row cutoff
|
#define Y_OFFSET 1 // Vertical offset to prevent top row cutoff
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define SCALE_X 1.875f // 240 / 128
|
#ifdef HELTEC_VISION_MASTER_T190
|
||||||
#define SCALE_Y 2.109375f // 135 / 64
|
#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() {
|
bool ST7789Display::begin() {
|
||||||
if(!_isOn) {
|
if(!_isOn) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue