latency improve

This commit is contained in:
3djc
2021-05-12 17:48:31 +02:00
parent cfc7c0ea86
commit 1703ffc061
+1 -1
View File
@@ -143,8 +143,8 @@ TASK_FUNCTION(mixerTask)
while (true) {
for (int timeout = 0; timeout < MIXER_MAX_PERIOD; timeout += MIXER_FREQUENT_ACTIONS_PERIOD) {
bool interruptedByTimeout = mixerSchedulerWaitForTrigger(MIXER_FREQUENT_ACTIONS_PERIOD);
execMixerFrequentActions();
bool interruptedByTimeout = mixerSchedulerWaitForTrigger(MIXER_FREQUENT_ACTIONS_PERIOD);
if (!interruptedByTimeout) {
break;
}