From bbd02f157fba840d918838a4922ca5b1fa4cae21 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Mon, 27 Jan 2014 16:28:43 +0000 Subject: [PATCH] Fixed SPDIF build issue --- module_usb_audio/audio.xc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_usb_audio/audio.xc b/module_usb_audio/audio.xc index 5355169f..637a97b9 100755 --- a/module_usb_audio/audio.xc +++ b/module_usb_audio/audio.xc @@ -146,7 +146,7 @@ static inline void doI2SClocks(unsigned divide) #pragma unsafe arrays {unsigned, unsigned} static deliver(chanend c_out, chanend ?c_spd_out, unsigned divide, unsigned curSamFreq, chanend ?c_dig_rx, chanend ?c_adc) { -#if (I2S_CHANS_ADC != 0) +#if (I2S_CHANS_ADC != 0) || defined(SPDIF) unsigned sample; #endif unsigned underflow = 0;