From 7f53fc08ee940a26c29018188920cf4e7f4f8fa0 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Tue, 6 Jan 2015 16:56:42 +0000 Subject: [PATCH] Resolved further build issues when CODEC_MASTER enabled --- module_usb_audio/audio.xc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module_usb_audio/audio.xc b/module_usb_audio/audio.xc index e51893bc..835125a5 100755 --- a/module_usb_audio/audio.xc +++ b/module_usb_audio/audio.xc @@ -564,8 +564,10 @@ chanend ?c_adc) } #endif +#ifndef CODEC_MASTER /* Clock out the LR Clock, the DAC data and Clock in the next sample into ADC */ doI2SClocks(divide); +#endif #if (I2S_CHANS_ADC != 0) /* Input previous L sample into L in buffer */ @@ -647,7 +649,9 @@ chanend ?c_adc) } #endif +#ifndef CODEC_MASTER doI2SClocks(divide); +#endif #if (I2S_CHANS_ADC != 0) index = 0;