Skip to content

Commit 524132c

Browse files
3djcpfeerick
authored andcommitted
chore: cleanup
1 parent 851475b commit 524132c

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

radio/src/edgetx.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,10 +1415,7 @@ void edgeTxInit()
14151415
#endif
14161416

14171417
#if defined(STARTUP_ANIMATION)
1418-
if (WAS_RESET_BY_WATCHDOG_OR_SOFTWARE()) {
1419-
pwrOn();
1420-
}
1421-
else {
1418+
if (!WAS_RESET_BY_WATCHDOG_OR_SOFTWARE()) {
14221419
runStartupAnimation();
14231420
}
14241421
#else // defined(STARTUP_ANIMATION)

radio/src/targets/taranis/board.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,6 @@ void boardInit()
250250
DBGMCU->APB2FZ = 0x00070003;
251251
#endif
252252

253-
#if defined(PWR_BUTTON_PRESS)
254-
if (WAS_RESET_BY_WATCHDOG_OR_SOFTWARE()) {
255-
pwrOn();
256-
}
257-
#endif
258-
259253
#if defined(TOPLCD_GPIO)
260254
toplcdInit();
261255
#endif

0 commit comments

Comments
 (0)