diff --git a/src/Makefile b/src/Makefile index b9a8c0c3a..3f1a4205e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -256,6 +256,11 @@ ifeq ($(FLIGHT_PHASES), YES) CPPDEFS += -DFLIGHT_PHASES endif +# If STD-Support is enabled +ifeq ($(EXT), STD) + CPPDEFS += -DEXTSTD +endif + # If ARDUPILOT-Support is enabled ifeq ($(EXT), ARDUPILOT) CPPDEFS += -DARDUPILOT diff --git a/src/open9x.cpp b/src/open9x.cpp index 72a6343d4..f42e29c8d 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -40,7 +40,7 @@ const pm_uchar splashdata[] PROGMEM = { 'S','P','S',0, const pm_uchar * splash_lbm = splashdata+4; #endif -#if defined(PCBV4) || defined(PCBARM) +#if defined(PCBV4) || defined(PCBARM) || defined(EXTSTD) const pm_uchar asterisk_lbm[] PROGMEM = { #include "asterisk.lbm" }; @@ -961,7 +961,7 @@ void message(const pm_char *title, const pm_char *t, const char *last) { lcd_clear(); -#if defined(PCBV4) || defined(PCBARM) +#if defined(PCBV4) || defined(PCBARM) || defined(EXTSTD) lcd_img(2, 0, asterisk_lbm, 0, 0); #else lcd_putsAtt(0, 0, PSTR("(!)"), DBLSIZE);