From d98736a18dd5b76b7c46725f5467c070f791ece9 Mon Sep 17 00:00:00 2001 From: Sam Chesney Date: Tue, 18 Feb 2014 17:59:04 +0000 Subject: [PATCH] Resolve excess elements in array initializer warning when iAP interrupt EP is disabled --- module_usb_audio/main.xc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module_usb_audio/main.xc b/module_usb_audio/main.xc index 2f7eb135..e6bccb1b 100755 --- a/module_usb_audio/main.xc +++ b/module_usb_audio/main.xc @@ -194,7 +194,9 @@ XUD_EpType epTypeTableIn[EP_CNT_IN] = { XUD_EPTYPE_CTL | XUD_STATUS_ENABLE, #endif #ifdef IAP XUD_EPTYPE_BUL | XUD_STATUS_ENABLE, +#ifdef IAP_INT_EP XUD_EPTYPE_BUL | XUD_STATUS_ENABLE, +#endif #endif };