From 45fa81c8540c4636dd0bf4c2081cd15f8b571738 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 11 Oct 2023 20:41:38 +0200 Subject: tweak defines --- main.ino | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.ino b/main.ino index 6a1538a..41c61ee 100644 --- a/main.ino +++ b/main.ino @@ -34,7 +34,7 @@ EasyButton button_move(BUTTON_PIN_MOVE); EasyButton button_select(BUTTON_PIN_SELECT); #if defined(HAS_DISPLAY) -#define ENABLE_GxEPD2_GFX 1 +#define ENABLE_GxEPD2_GFX 0 #include #include @@ -42,6 +42,9 @@ EasyButton button_select(BUTTON_PIN_SELECT); // source: https://github.com/ZinggJM/GxEPD2/blob/master/examples/GxEPD2_Example/GxEPD2_display_selection.h#L192 GxEPD2_BW displayEPaper(GxEPD2_290(EPD_CS, EPD_DC, EPD_RSET, EPD_BUSY)); +// FIXME: really disable GLCD, since it cannot build on ESP32 +// as dirty workaround, edit file `libraries/GEM/src/config.h` +#define GEM_DISABLE_GLCD 1 #include // Create variables that will be editable through the menu and assign them initial values -- cgit v1.2.3