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 */
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user