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))
|
if (!(startOptions & OPENTX_START_NO_SPLASH))
|
||||||
startSplash();
|
startSplash();
|
||||||
|
|
||||||
#if defined(HARDWARE_TOUCH) && !defined(PCBFLYSKY) && !defined(SIMU)
|
|
||||||
touchPanelInit();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(LIBOPENUI)
|
#if defined(LIBOPENUI)
|
||||||
initLvglTheme();
|
initLvglTheme();
|
||||||
// create ViewMain
|
// create ViewMain
|
||||||
|
|||||||
@@ -146,6 +146,10 @@ void boardInit()
|
|||||||
switchInit();
|
switchInit();
|
||||||
rotaryEncoderInit();
|
rotaryEncoderInit();
|
||||||
|
|
||||||
|
#if defined(HARDWARE_TOUCH)
|
||||||
|
touchPanelInit();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(PWM_STICKS)
|
#if defined(PWM_STICKS)
|
||||||
sticksPwmDetect();
|
sticksPwmDetect();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user