Fixed build issue when DFU not enabled.

This commit is contained in:
Ross Owen
2013-11-14 15:44:23 +00:00
parent 4cb49147db
commit a61b8dc961

View File

@@ -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;