forked from PAWPAW-Mirror/lib_xua
XUD only run in HP mode ifdef XUD_PRIORITY_HIGH
This commit is contained in:
@@ -311,17 +311,19 @@ VENDOR_REQUESTS_PARAMS_DEC_
|
|||||||
|
|
||||||
par
|
par
|
||||||
{
|
{
|
||||||
/* USB Interface Core */
|
|
||||||
#if (AUDIO_CLASS==2)
|
|
||||||
XUD_Manager(c_xud_out, ENDPOINT_COUNT_OUT, c_xud_in, ENDPOINT_COUNT_IN,
|
|
||||||
c_sof, epTypeTableOut, epTypeTableIn, p_usb_rst,
|
|
||||||
clk, 1, XUD_SPEED_HS, XUD_PWR_CFG);
|
|
||||||
#else
|
|
||||||
{
|
{
|
||||||
set_core_high_priority_on();
|
#ifdef XUD_PRIORITY_HIGH
|
||||||
XUD_Manager(c_xud_out, ENDPOINT_COUNT_OUT, c_xud_in, ENDPOINT_COUNT_IN,
|
set_core_high_priority_on();
|
||||||
c_sof, epTypeTableOut, epTypeTableIn, p_usb_rst,
|
#endif
|
||||||
clk, 1, XUD_SPEED_FS, XUD_PWR_CFG);
|
/* USB Interface Core */
|
||||||
|
#if (AUDIO_CLASS==2)
|
||||||
|
XUD_Manager(c_xud_out, ENDPOINT_COUNT_OUT, c_xud_in, ENDPOINT_COUNT_IN,
|
||||||
|
c_sof, epTypeTableOut, epTypeTableIn, p_usb_rst,
|
||||||
|
clk, 1, XUD_SPEED_HS, XUD_PWR_CFG);
|
||||||
|
#else
|
||||||
|
XUD_Manager(c_xud_out, ENDPOINT_COUNT_OUT, c_xud_in, ENDPOINT_COUNT_IN,
|
||||||
|
c_sof, epTypeTableOut, epTypeTableIn, p_usb_rst,
|
||||||
|
clk, 1, XUD_SPEED_FS, XUD_PWR_CFG);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user