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
|
||||
|
||||
#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 == 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);
|
||||
}
|
||||
#endif
|
||||
#ifdef DFU
|
||||
}
|
||||
#endif
|
||||
}
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user