[X9D] Bootloader had no backlight

This commit is contained in:
Bertrand Songis
2019-08-22 12:31:03 +02:00
parent 9cac645a2b
commit b0e545bcaa
3 changed files with 8 additions and 5 deletions
+5 -3
View File
@@ -625,11 +625,13 @@ void backlightInit();
void backlightDisable();
#define BACKLIGHT_DISABLE() backlightDisable()
uint8_t isBacklightEnabled();
#if defined(PCBX9E) || defined(PCBX9DP)
void backlightEnable(uint8_t level, uint8_t color);
#if !defined(__cplusplus)
#define backlightEnable(...)
#elif defined(PCBX9E) || defined(PCBX9DP)
void backlightEnable(uint8_t level = 0, uint8_t color = 0);
#define BACKLIGHT_ENABLE() backlightEnable(g_eeGeneral.backlightBright, g_eeGeneral.backlightColor)
#else
void backlightEnable(uint8_t level);
void backlightEnable(uint8_t level = 0);
#define BACKLIGHT_ENABLE() backlightEnable(g_eeGeneral.backlightBright)
#endif