File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 99 '+<helpers/sensors>' ,
1010 '+<helpers/radiolib/*.cpp>' ,
1111 '+<helpers/ui/MomentaryButton.cpp>' ,
12+ '+<helpers/ui/buzzer.cpp>' ,
1213]
1314
14- use_display = False
15-
1615# add build and include dirs according to CPPDEFINES
1716for item in menv .get ("CPPDEFINES" , []):
1817
4342 # DISPLAY HANDLING
4443 elif isinstance (item , tuple ) and item [0 ] == "DISPLAY_CLASS" :
4544 display_class = item [1 ]
46- use_display = True
4745 src_filter .append (f"+<helpers/ui/{ display_class } .cpp>" )
4846 if (display_class == "ST7789Display" ) :
4947 src_filter .append (f"+<helpers/ui/OLEDDisplay.cpp>" )
5553 menv .Append (BUILD_FLAGS = [f"-I variants/{ variant_name } " ])
5654 src_filter .append (f"+<../variants/{ variant_name } >" )
5755
58- if use_display :
59- menv .Append (CPPPATH = [realpath ("src/helpers/ui" )])
60- menv .Append (BUILD_FLAGS = ["-I src/helpers/ui" ])
61-
6256menv .Replace (SRC_FILTER = src_filter )
6357
6458#print (menv.Dump())
Original file line number Diff line number Diff line change 44#include < Wire.h>
55#include < SPI.h>
66#include < Adafruit_GFX.h>
7- #include < ST7789Spi.h>
7+ #include " ST7789Spi.h"
88
99class ST7789Display : public DisplayDriver {
1010 ST7789Spi display;
You can’t perform that action at this time.
0 commit comments