Resolved further build issues when CODEC_MASTER enabled

This commit is contained in:
Ross Owen
2015-01-06 16:56:42 +00:00
parent 55e7084df5
commit 7f53fc08ee

View File

@@ -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;