From bab06c66eab501b0b26f8e5129d5858a453092bb Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Thu, 20 Feb 2014 13:30:34 +0000 Subject: [PATCH] Global vars for EP's in decouple now XUD_ep (were int) --- module_usb_audio/usb_buffer/decouple.xc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/module_usb_audio/usb_buffer/decouple.xc b/module_usb_audio/usb_buffer/decouple.xc index 0fb6b465..bace5f67 100644 --- a/module_usb_audio/usb_buffer/decouple.xc +++ b/module_usb_audio/usb_buffer/decouple.xc @@ -53,9 +53,11 @@ unsigned dir = 0; void GetADCCounts(unsigned samFreq, int &min, int &mid, int &max); -int aud_from_host_usb_ep = 0; -int aud_to_host_usb_ep = 0; -int int_usb_ep = 0; +/* Globals for EP types */ +XUD_ep aud_from_host_usb_ep = 0; +XUD_ep aud_fb_usb_ep = 0; +XUD_ep aud_to_host_usb_ep = 0; +XUD_ep int_usb_ep = 0; /* Shared global audio buffering variables */ unsigned g_aud_from_host_buffer;