fix: Commando8 does not need the startup animation (#5245)

This commit is contained in:
Raphael Coeffic
2024-07-05 09:59:45 +10:00
committed by GitHub
parent 1418e8792f
commit 2110f1b938
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1354,7 +1354,7 @@ void edgeTxInit()
switchInit();
#if defined(STARTUP_ANIMATION)
#if defined(GUI) && !defined(COLORLCD)
lcdRefreshWait();
lcdClear();
lcdRefresh();
+4 -4
View File
@@ -191,16 +191,16 @@ extern "C" {
// Power driver
#define SOFT_PWR_CTRL
#if defined(PWR_BUTTON_PRESS) && !defined(RADIO_COMMANDO8)
# define STARTUP_ANIMATION
#endif
void pwrInit();
uint32_t pwrCheck();
void pwrOn();
void pwrOff();
bool pwrPressed();
bool pwrOffPressed();
#if defined(PWR_BUTTON_PRESS)
#define STARTUP_ANIMATION
uint32_t pwrPressedDuration();
#endif
void pwrResetHandler();
#define pwrForcePressed() false