From c31355aa18bd9d88d4d1bfdff9667c7398cc427d Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Thu, 29 Nov 2012 17:59:20 +0000 Subject: [PATCH] SU1_ADC define changed to SU1_ADC_ENABLE --- module_usb_audio/audio.xc | 4 ++-- module_usb_audio/main.xc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module_usb_audio/audio.xc b/module_usb_audio/audio.xc index a02b6e13..2e47bde0 100755 --- a/module_usb_audio/audio.xc +++ b/module_usb_audio/audio.xc @@ -471,7 +471,7 @@ unsigned deliver(chanend c_out, chanend ?c_spd_out, unsigned divide, chanend ?c_ #endif } -#ifdef SU1_ADC +#ifdef SU1_ADC_ENABLE { unsigned x; @@ -548,7 +548,7 @@ void audio(chanend c_mix_out, chanend ?c_dig_rx, chanend ?c_config, chanend ?c) unsigned divide; unsigned firstRun = 1; -#ifdef SU1_ADC +#ifdef SU1_ADC_ENABLE /* Setup galaxian ADC */ unsigned data[1], channel; int r; diff --git a/module_usb_audio/main.xc b/module_usb_audio/main.xc index eb91ede5..8da8cfc0 100755 --- a/module_usb_audio/main.xc +++ b/module_usb_audio/main.xc @@ -192,7 +192,7 @@ int main() #define c_usb_test null #endif -#ifdef SU1_ADC +#ifdef SU1_ADC_ENABLE chan c_adc; #else #define c_adc null @@ -280,7 +280,7 @@ int main() } #endif -#ifdef SU1_ADC +#ifdef SU1_ADC_ENABLE xs1_su_adc_service(c_adc); #endif