Moved drawSplash() into UI task and fixed task prios

This commit is contained in:
Raphael Coeffic
2021-07-31 17:31:50 +02:00
parent 7e4cdaeaca
commit 40609f5d67
4 changed files with 11 additions and 27 deletions
+7 -2
View File
@@ -243,6 +243,13 @@ bool perMainEnabled = true;
TASK_FUNCTION(menusTask)
{
#if defined(SPLASH) && !defined(STARTUP_ANIMATION)
if (!UNEXPECTED_SHUTDOWN()) {
drawSplash();
TRACE("drawSplash() completed");
}
#endif
opentxInit();
#if defined(PWR_BUTTON_PRESS)
@@ -296,8 +303,6 @@ TASK_FUNCTION(menusTask)
void tasksStart()
{
RTOS_INIT();
RTOS_CREATE_MUTEX(audioMutex);
RTOS_CREATE_MUTEX(mixerMutex);