forked from PAWPAW-Mirror/lib_xua
Additional chanend passed to Endpoint0 for iAP EA Native Transport support
This commit is contained in:
@@ -260,6 +260,12 @@ void usb_audio_core(chanend c_mix_out
|
||||
|
||||
#ifndef MIXER
|
||||
#define c_mix_ctl null
|
||||
#endif
|
||||
|
||||
#ifdef IAP_EA_NATIVE_TRANS
|
||||
chan c_EANativeTransport_ctrl;
|
||||
#else
|
||||
#define c_EANativeTransport_ctrl null
|
||||
#endif
|
||||
|
||||
par
|
||||
@@ -326,7 +332,7 @@ void usb_audio_core(chanend c_mix_out
|
||||
/* Endpoint 0 Core */
|
||||
{
|
||||
thread_speed();
|
||||
Endpoint0( c_xud_out[0], c_xud_in[0], c_aud_ctl, c_mix_ctl, null);
|
||||
Endpoint0( c_xud_out[0], c_xud_in[0], c_aud_ctl, c_mix_ctl, null, c_EANativeTransport_ctrl);
|
||||
}
|
||||
|
||||
/* Decoupling core */
|
||||
|
||||
Reference in New Issue
Block a user