fix: Commando8 does not need the startup animation (#5245)
This commit is contained in:
@@ -1354,7 +1354,7 @@ void edgeTxInit()
|
|||||||
|
|
||||||
switchInit();
|
switchInit();
|
||||||
|
|
||||||
#if defined(STARTUP_ANIMATION)
|
#if defined(GUI) && !defined(COLORLCD)
|
||||||
lcdRefreshWait();
|
lcdRefreshWait();
|
||||||
lcdClear();
|
lcdClear();
|
||||||
lcdRefresh();
|
lcdRefresh();
|
||||||
|
|||||||
@@ -191,16 +191,16 @@ extern "C" {
|
|||||||
|
|
||||||
// Power driver
|
// Power driver
|
||||||
#define SOFT_PWR_CTRL
|
#define SOFT_PWR_CTRL
|
||||||
|
#if defined(PWR_BUTTON_PRESS) && !defined(RADIO_COMMANDO8)
|
||||||
|
# define STARTUP_ANIMATION
|
||||||
|
#endif
|
||||||
|
|
||||||
void pwrInit();
|
void pwrInit();
|
||||||
uint32_t pwrCheck();
|
uint32_t pwrCheck();
|
||||||
void pwrOn();
|
void pwrOn();
|
||||||
void pwrOff();
|
void pwrOff();
|
||||||
bool pwrPressed();
|
bool pwrPressed();
|
||||||
bool pwrOffPressed();
|
bool pwrOffPressed();
|
||||||
#if defined(PWR_BUTTON_PRESS)
|
|
||||||
#define STARTUP_ANIMATION
|
|
||||||
uint32_t pwrPressedDuration();
|
|
||||||
#endif
|
|
||||||
void pwrResetHandler();
|
void pwrResetHandler();
|
||||||
#define pwrForcePressed() false
|
#define pwrForcePressed() false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user