Fixed runtime deadlock with MIXER=1 && MAX_MIX_COUNT=0

This commit is contained in:
xross
2018-02-21 15:54:25 +00:00
parent 9a8910121f
commit 72f7a1d153

View File

@@ -365,9 +365,11 @@ static void mixer1(chanend c_host, chanend c_mix_ctl, chanend c_mixer2)
/* Forward on Request for data to decouple thread */
outuint(c_host, request);
#if (MAX_MIX_COUNT > 0)
/* Sync */
outuint(c_mixer2, 0);
#endif
/* Between request to decouple and response ~ 400nS latency for interrupt to fire */
select