chores: touch init in board (#5284)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
This commit is contained in:
co-authored by
raphaelcoeffic
parent
b630982b20
commit
d0791fa0c2
@@ -1341,10 +1341,6 @@ void edgeTxInit()
|
||||
if (!(startOptions & OPENTX_START_NO_SPLASH))
|
||||
startSplash();
|
||||
|
||||
#if defined(HARDWARE_TOUCH) && !defined(PCBFLYSKY) && !defined(SIMU)
|
||||
touchPanelInit();
|
||||
#endif
|
||||
|
||||
#if defined(LIBOPENUI)
|
||||
initLvglTheme();
|
||||
// create ViewMain
|
||||
|
||||
@@ -146,6 +146,10 @@ void boardInit()
|
||||
switchInit();
|
||||
rotaryEncoderInit();
|
||||
|
||||
#if defined(HARDWARE_TOUCH)
|
||||
touchPanelInit();
|
||||
#endif
|
||||
|
||||
#if defined(PWM_STICKS)
|
||||
sticksPwmDetect();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user