forked from PAWPAW-Mirror/lib_xua
Fixed build issue when DFU not enabled.
This commit is contained in:
@@ -558,6 +558,7 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef VENDOR_AUDIO_REQS
|
#ifdef VENDOR_AUDIO_REQS
|
||||||
|
#error
|
||||||
/* If retVal is 1 at this point, then request to audio interface not handled - handle vendor audio reqs */
|
/* If retVal is 1 at this point, then request to audio interface not handled - handle vendor audio reqs */
|
||||||
if(retVal == 1)
|
if(retVal == 1)
|
||||||
{
|
{
|
||||||
@@ -567,9 +568,7 @@ void Endpoint0( chanend c_ep0_out, chanend c_ep0_in, chanend c_audioControl,
|
|||||||
c_audioControl, c_mix_ctl, c_clk_ctl);
|
c_audioControl, c_mix_ctl, c_clk_ctl);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef DFU
|
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user