Skip to content

Commit 088b8fd

Browse files
fix: revert to orignal default scaling and fix it in variant config
1 parent 128119f commit 088b8fd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/helpers/ui/GxEPDDisplay.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class GxEPDDisplay : public DisplayDriver {
3939

4040
public:
4141
#if defined(EINK_DISPLAY_MODEL)
42-
GxEPDDisplay() : DisplayDriver(EINK_DISPLAY_MODEL::WIDTH, EINK_DISPLAY_MODEL::HEIGHT), display(EINK_DISPLAY_MODEL(PIN_DISPLAY_CS, PIN_DISPLAY_DC, PIN_DISPLAY_RST, PIN_DISPLAY_BUSY)) {}
42+
GxEPDDisplay() : DisplayDriver(128, 128), display(EINK_DISPLAY_MODEL(PIN_DISPLAY_CS, PIN_DISPLAY_DC, PIN_DISPLAY_RST, PIN_DISPLAY_BUSY)) {}
4343
#else
4444
GxEPDDisplay() : DisplayDriver(128, 128), display(GxEPD2_150_BN(DISP_CS, DISP_DC, DISP_RST, DISP_BUSY)) {}
4545
#endif

variants/lilygo_techo_lite/platformio.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ build_flags = ${nrf52_base.build_flags}
2121
-D PIN_GPS_EN=GPS_EN
2222
-D DISPLAY_CLASS=GxEPDDisplay
2323
-D EINK_DISPLAY_MODEL=GxEPD2_122_T61
24-
-D EINK_SCALE_X=1.0f
24+
-D EINK_SCALE_X=1.5f
2525
-D EINK_SCALE_Y=2.0f
2626
-D EINK_X_OFFSET=0
2727
-D EINK_Y_OFFSET=10

0 commit comments

Comments
 (0)