diff --git a/radio/src/tasks/mixer_task.cpp b/radio/src/tasks/mixer_task.cpp index 962beea106f..e406c77bc98 100644 --- a/radio/src/tasks/mixer_task.cpp +++ b/radio/src/tasks/mixer_task.cpp @@ -60,9 +60,11 @@ void mixerTaskUnlock() void mixerTaskInit() { + mixerSchedulerInit(); RTOS_CREATE_MUTEX(mixerMutex); RTOS_CREATE_TASK(mixerTaskId, mixerTask, "mixer", mixerStack, MIXER_STACK_SIZE, MIXER_TASK_PRIO); + mixerSchedulerStart(); } bool mixerTaskStarted() @@ -147,9 +149,6 @@ TASK_FUNCTION(mixerTask) gyroInit(); #endif - mixerSchedulerInit(); - mixerSchedulerStart(); - while (!_mixer_exit) { int timeout = 0;