forked from PAWPAW-Mirror/lib_xua
Fixed build issue when DFU is disabled (and DFU distributed into EP0)
This commit is contained in:
@@ -278,7 +278,7 @@ void usb_audio_core(chanend c_mix_out
|
|||||||
#endif
|
#endif
|
||||||
, chanend ?c_clk_int
|
, chanend ?c_clk_int
|
||||||
, chanend ?c_clk_ctl
|
, chanend ?c_clk_ctl
|
||||||
, client interface i_dfu dfuInterface
|
, client interface i_dfu ?dfuInterface
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
chan c_sof;
|
chan c_sof;
|
||||||
@@ -536,8 +536,10 @@ int main()
|
|||||||
{
|
{
|
||||||
#if (XUD_TILE == 0)
|
#if (XUD_TILE == 0)
|
||||||
/* Check if USB is on the flash tile (tile 0) */
|
/* Check if USB is on the flash tile (tile 0) */
|
||||||
|
#ifdef DFU
|
||||||
[[distribute]]
|
[[distribute]]
|
||||||
DFUHandler(dfuInterface, null);
|
DFUHandler(dfuInterface, null);
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
usb_audio_core(c_mix_out
|
usb_audio_core(c_mix_out
|
||||||
#ifdef MIDI
|
#ifdef MIDI
|
||||||
|
|||||||
Reference in New Issue
Block a user