Skip to content

Commit

Permalink
fix: Commando8 does not need the startup animation (#5245)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelcoeffic authored Jul 4, 2024
1 parent 1418e87 commit 2110f1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion radio/src/opentx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1354,7 +1354,7 @@ void edgeTxInit()

switchInit();

#if defined(STARTUP_ANIMATION)
#if defined(GUI) && !defined(COLORLCD)
lcdRefreshWait();
lcdClear();
lcdRefresh();
Expand Down
8 changes: 4 additions & 4 deletions radio/src/targets/taranis/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 2110f1b

Please sign in to comment.