forked from PAWPAW-Mirror/lib_xua
Fixes for XUA_USB_EN=0
This commit is contained in:
@@ -336,7 +336,7 @@ void usb_audio_io(chanend ?c_aud_in,
|
|||||||
|
|
||||||
par
|
par
|
||||||
{
|
{
|
||||||
#if (MIXER)
|
#if (MIXER && XUA_USB_EN)
|
||||||
/* Mixer cores(s) */
|
/* Mixer cores(s) */
|
||||||
{
|
{
|
||||||
thread_speed();
|
thread_speed();
|
||||||
@@ -493,14 +493,12 @@ int main()
|
|||||||
on tile[XUD_TILE]:
|
on tile[XUD_TILE]:
|
||||||
par
|
par
|
||||||
{
|
{
|
||||||
#if (XUD_TILE == 0)
|
#if XUA_USB_EN
|
||||||
|
#if ((XUD_TILE == 0) && (XUA_DFU_EN == 1))
|
||||||
/* Check if USB is on the flash tile (tile 0) */
|
/* Check if USB is on the flash tile (tile 0) */
|
||||||
#if (XUA_DFU_EN == 1)
|
|
||||||
[[distribute]]
|
[[distribute]]
|
||||||
DFUHandler(dfuInterface, null);
|
DFUHandler(dfuInterface, null);
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
#if XUA_USB_EN
|
|
||||||
|
|
||||||
/* Core USB task, buffering, USB etc */
|
/* Core USB task, buffering, USB etc */
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user