diff --git a/radio/src/targets/horus/board.cpp b/radio/src/targets/horus/board.cpp index 3508c2c72..e83e91c82 100644 --- a/radio/src/targets/horus/board.cpp +++ b/radio/src/targets/horus/board.cpp @@ -246,10 +246,6 @@ void boardInit() DBGMCU_APB1PeriphConfig(DBGMCU_IWDG_STOP|DBGMCU_TIM1_STOP|DBGMCU_TIM2_STOP|DBGMCU_TIM3_STOP|DBGMCU_TIM4_STOP|DBGMCU_TIM5_STOP|DBGMCU_TIM6_STOP|DBGMCU_TIM7_STOP|DBGMCU_TIM8_STOP|DBGMCU_TIM9_STOP|DBGMCU_TIM10_STOP|DBGMCU_TIM11_STOP|DBGMCU_TIM12_STOP|DBGMCU_TIM13_STOP|DBGMCU_TIM14_STOP, ENABLE); #endif -#if defined(HARDWARE_TOUCH) - touchPanelInit(); -#endif - ledInit(); #if defined(USB_CHARGER) diff --git a/radio/src/tasks.cpp b/radio/src/tasks.cpp index 735737e22..b3142e89b 100644 --- a/radio/src/tasks.cpp +++ b/radio/src/tasks.cpp @@ -224,6 +224,10 @@ TASK_FUNCTION(menusTask) } #endif +#if defined(HARDWARE_TOUCH) && !defined(PCBFLYSKY) && !defined(SIMU) + touchPanelInit(); +#endif + opentxInit(); #if defined(PWR_BUTTON_PRESS)