latency improve
This commit is contained in:
+1
-1
@@ -143,8 +143,8 @@ TASK_FUNCTION(mixerTask)
|
|||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
for (int timeout = 0; timeout < MIXER_MAX_PERIOD; timeout += MIXER_FREQUENT_ACTIONS_PERIOD) {
|
for (int timeout = 0; timeout < MIXER_MAX_PERIOD; timeout += MIXER_FREQUENT_ACTIONS_PERIOD) {
|
||||||
bool interruptedByTimeout = mixerSchedulerWaitForTrigger(MIXER_FREQUENT_ACTIONS_PERIOD);
|
|
||||||
execMixerFrequentActions();
|
execMixerFrequentActions();
|
||||||
|
bool interruptedByTimeout = mixerSchedulerWaitForTrigger(MIXER_FREQUENT_ACTIONS_PERIOD);
|
||||||
if (!interruptedByTimeout) {
|
if (!interruptedByTimeout) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user