From c5698ae94bc5342e94c1bf6f2fc64b37b9263855 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Thu, 30 Aug 2012 14:38:13 +0100 Subject: [PATCH] Update to main to removed proprocessor error --- module_usb_audio/audio.xc | 3 --- module_usb_audio/main.xc | 3 --- 2 files changed, 6 deletions(-) diff --git a/module_usb_audio/audio.xc b/module_usb_audio/audio.xc index fffd9f99..812c3b11 100755 --- a/module_usb_audio/audio.xc +++ b/module_usb_audio/audio.xc @@ -20,8 +20,6 @@ #include "devicedefines.h" #include "SpdifTransmit.h" -extern out port p_test; - unsigned g_adcVal = 0; //#define RAMP_CHECK 1 @@ -81,7 +79,6 @@ unsigned deliver(chanend c_out, chanend ?c_spd_out, unsigned divide, chanend ?c_ unsigned prev=0; int started = 0; #endif - unsigned test = 0; #if NUM_USB_CHAN_IN > 0 diff --git a/module_usb_audio/main.xc b/module_usb_audio/main.xc index 2c96e60d..f1f71741 100755 --- a/module_usb_audio/main.xc +++ b/module_usb_audio/main.xc @@ -109,8 +109,6 @@ on stdcore[0] : clock clk_mst_spd = XS1_CLKBLK_1; #ifdef ARCH_L #ifdef PORT_USB_RESET on stdcore[0] : out port p_usb_rst = PORT_USB_RESET; -#else -#error Need a USB Reset port for L series #endif /* L Series also needs a clock for this port */ clock clk = XS1_CLKBLK_4; @@ -120,7 +118,6 @@ clock clk = XS1_CLKBLK_4; #define clk null #endif - /* Endpoint type tables for XUD */ XUD_EpType epTypeTableOut[NUM_EP_OUT] = { XUD_EPTYPE_CTL | XUD_STATUS_ENABLE, XUD_EPTYPE_ISO, /* Audio */