[color] Move touch panel init to UI task

This allows for the timeout checks in I2C code to work properly as they are based on SysTick IRQ, which is started by FreeRTOS when the scheduler is started.

Resolves #803
This commit is contained in:
Raphael Coeffic
2021-09-26 10:29:39 +02:00
committed by Raphael Coeffic
parent a4af85ef37
commit 004989ea57
2 changed files with 4 additions and 4 deletions
+4
View File
@@ -224,6 +224,10 @@ TASK_FUNCTION(menusTask)
}
#endif
#if defined(HARDWARE_TOUCH) && !defined(PCBFLYSKY) && !defined(SIMU)
touchPanelInit();
#endif
opentxInit();
#if defined(PWR_BUTTON_PRESS)