Fixed build issue due to bad define name (EP vs ENDPOINT)

This commit is contained in:
Ross Owen
2015-01-12 18:14:07 +00:00
parent b36a7ab555
commit cfca7b347e
2 changed files with 3 additions and 3 deletions

View File

@@ -95,7 +95,7 @@ unsigned char fb_clocks[16];
* @return void
*/
void buffer(register chanend c_aud_out, register chanend c_aud_in,
#if (NUM_USB_CHAN_IN == 0) || defined (UAC_FORCE_FEEDBACK_ENDPOINT)
#if (NUM_USB_CHAN_IN == 0) || defined (UAC_FORCE_FEEDBACK_EP)
chanend c_aud_fb,
#endif
#ifdef MIDI
@@ -134,7 +134,7 @@ void buffer(register chanend c_aud_out, register chanend c_aud_in,
{
XUD_ep ep_aud_out = XUD_InitEp(c_aud_out);
XUD_ep ep_aud_in = XUD_InitEp(c_aud_in);
#if (NUM_USB_CHAN_IN == 0) || defined (UAC_FORCE_FEEDBACK_ENDPOINT)
#if (NUM_USB_CHAN_IN == 0) || defined (UAC_FORCE_FEEDBACK_EP)
XUD_ep ep_aud_fb = XUD_InitEp(c_aud_fb);
#endif
#ifdef MIDI