asterisk image added to stock 9x firmware if none extension selected
This commit is contained in:
@@ -256,6 +256,11 @@ ifeq ($(FLIGHT_PHASES), YES)
|
|||||||
CPPDEFS += -DFLIGHT_PHASES
|
CPPDEFS += -DFLIGHT_PHASES
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# If STD-Support is enabled
|
||||||
|
ifeq ($(EXT), STD)
|
||||||
|
CPPDEFS += -DEXTSTD
|
||||||
|
endif
|
||||||
|
|
||||||
# If ARDUPILOT-Support is enabled
|
# If ARDUPILOT-Support is enabled
|
||||||
ifeq ($(EXT), ARDUPILOT)
|
ifeq ($(EXT), ARDUPILOT)
|
||||||
CPPDEFS += -DARDUPILOT
|
CPPDEFS += -DARDUPILOT
|
||||||
|
|||||||
+2
-2
@@ -40,7 +40,7 @@ const pm_uchar splashdata[] PROGMEM = { 'S','P','S',0,
|
|||||||
const pm_uchar * splash_lbm = splashdata+4;
|
const pm_uchar * splash_lbm = splashdata+4;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PCBV4) || defined(PCBARM)
|
#if defined(PCBV4) || defined(PCBARM) || defined(EXTSTD)
|
||||||
const pm_uchar asterisk_lbm[] PROGMEM = {
|
const pm_uchar asterisk_lbm[] PROGMEM = {
|
||||||
#include "asterisk.lbm"
|
#include "asterisk.lbm"
|
||||||
};
|
};
|
||||||
@@ -961,7 +961,7 @@ void message(const pm_char *title, const pm_char *t, const char *last)
|
|||||||
{
|
{
|
||||||
lcd_clear();
|
lcd_clear();
|
||||||
|
|
||||||
#if defined(PCBV4) || defined(PCBARM)
|
#if defined(PCBV4) || defined(PCBARM) || defined(EXTSTD)
|
||||||
lcd_img(2, 0, asterisk_lbm, 0, 0);
|
lcd_img(2, 0, asterisk_lbm, 0, 0);
|
||||||
#else
|
#else
|
||||||
lcd_putsAtt(0, 0, PSTR("(!)"), DBLSIZE);
|
lcd_putsAtt(0, 0, PSTR("(!)"), DBLSIZE);
|
||||||
|
|||||||
Reference in New Issue
Block a user