forked from PAWPAW-Mirror/lib_xua
Removed use of c_usb_test from main
This commit is contained in:
@@ -268,11 +268,11 @@ void usb_audio_core(chanend c_mix_out
|
|||||||
#if (AUDIO_CLASS==2)
|
#if (AUDIO_CLASS==2)
|
||||||
XUD_Manager(c_xud_out, ENDPOINT_COUNT_OUT, c_xud_in, ENDPOINT_COUNT_IN,
|
XUD_Manager(c_xud_out, ENDPOINT_COUNT_OUT, c_xud_in, ENDPOINT_COUNT_IN,
|
||||||
c_sof, epTypeTableOut, epTypeTableIn, p_usb_rst,
|
c_sof, epTypeTableOut, epTypeTableIn, p_usb_rst,
|
||||||
clk, 1, XUD_SPEED_HS, c_usb_test, pwrConfig);
|
clk, 1, XUD_SPEED_HS, pwrConfig);
|
||||||
#else
|
#else
|
||||||
XUD_Manager(c_xud_out, ENDPOINT_COUNT_OUT, c_xud_in, ENDPOINT_COUNT_IN,
|
XUD_Manager(c_xud_out, ENDPOINT_COUNT_OUT, c_xud_in, ENDPOINT_COUNT_IN,
|
||||||
c_sof, epTypeTableOut, epTypeTableIn, p_usb_rst,
|
c_sof, epTypeTableOut, epTypeTableIn, p_usb_rst,
|
||||||
clk, 1, XUD_SPEED_FS, c_usb_test, pwrConfig);
|
clk, 1, XUD_SPEED_FS, pwrConfig);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* USB Packet buffering Core */
|
/* USB Packet buffering Core */
|
||||||
@@ -326,7 +326,7 @@ void usb_audio_core(chanend c_mix_out
|
|||||||
/* Endpoint 0 Core */
|
/* Endpoint 0 Core */
|
||||||
{
|
{
|
||||||
thread_speed();
|
thread_speed();
|
||||||
Endpoint0( c_xud_out[0], c_xud_in[0], c_aud_ctl, c_mix_ctl, null, c_usb_test);
|
Endpoint0( c_xud_out[0], c_xud_in[0], c_aud_ctl, c_mix_ctl, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Decoupling core */
|
/* Decoupling core */
|
||||||
|
|||||||
Reference in New Issue
Block a user