forked from PAWPAW-Mirror/lib_xua
Fixed runtime deadlock with MIXER=1 && MAX_MIX_COUNT=0
This commit is contained in:
@@ -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 */
|
/* Forward on Request for data to decouple thread */
|
||||||
outuint(c_host, request);
|
outuint(c_host, request);
|
||||||
|
|
||||||
|
#if (MAX_MIX_COUNT > 0)
|
||||||
/* Sync */
|
/* Sync */
|
||||||
outuint(c_mixer2, 0);
|
outuint(c_mixer2, 0);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Between request to decouple and response ~ 400nS latency for interrupt to fire */
|
/* Between request to decouple and response ~ 400nS latency for interrupt to fire */
|
||||||
select
|
select
|
||||||
|
|||||||
Reference in New Issue
Block a user