From 3f390dacec8653d52d09ef709ceec70e700b2cdb Mon Sep 17 00:00:00 2001 From: Mario Mariete <11509521+melkati@users.noreply.github.com> Date: Sat, 18 May 2024 12:14:53 +0200 Subject: [PATCH] Fix big fonts for EINKBOARDGDEW0213M21 to include only correct size 38pt digits 0..9 to save memory. --- CO2_Gadget_EINK.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CO2_Gadget_EINK.h b/CO2_Gadget_EINK.h index b66661a5..9d35a13a 100644 --- a/CO2_Gadget_EINK.h +++ b/CO2_Gadget_EINK.h @@ -53,10 +53,10 @@ uint16_t resetDuration = 2; GxEPD2_BW display(GxEPD2_213_B74(EPD_CS, EPD_DC, EPD_RST, EPD_BUSY)); // GDEM0213B74 https://s.click.aliexpress.com/e/_DDFb2gl #endif #ifdef EINKBOARDGDEW0213M21 -#include +#include #include const GFXfont SmallFont = NotoSans_Bold6pt7b; -const GFXfont BigFont = Digits_NotoSans_Bold48pt7b; +const GFXfont BigFont = Digits_NotoSans_Bold38pt7b; int displayWidth = 212; int displayHeight = 104; uint16_t resetDuration = 2; @@ -112,7 +112,7 @@ GxEPD2_BW display(GxEPD2_213_BN(EPD_CS, EP #include #include const GFXfont SmallFont = NotoSans_SemiCondensed_Bold10pt7b; -const GFXfont BigFont = Digits_NotoSans_Bold48pt7b; +const GFXfont BigFont = Digits_NotoSans_Bold38pt7b; int displayWidth = 200; int displayHeight = 200; uint16_t resetDuration = 50;