Additional chanend passed to Endpoint0 for iAP EA Native Transport support

This commit is contained in:
Sam Chesney
2014-07-29 15:24:21 +01:00
parent 201c899f23
commit 0870c3edc8
3 changed files with 12 additions and 3 deletions

View File

@@ -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 */