From 55e7084df545733a3cc36cf27f5b563e5cb254db Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Tue, 6 Jan 2015 15:31:40 +0000 Subject: [PATCH] Resolved build issue with CODEC_MASTER enabled --- CHANGELOG.rst | 4 ++++ module_usb_audio/ports/audioports.c | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 296c537f..8b1c9ead 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -1,6 +1,10 @@ sc_usb_audio Change Log ======================= +HEAD +---- + - RESOLVED: Build issue with CODEC_MASTER (XCore is I2S slave) enabled + 6.11.0 ------ - ADDED: Basic TDM I2S functionality added. See I2S_CHANS_PER_FRAME and I2S_MODE_TDM diff --git a/module_usb_audio/ports/audioports.c b/module_usb_audio/ports/audioports.c index 7daf4df6..d121e711 100644 --- a/module_usb_audio/ports/audioports.c +++ b/module_usb_audio/ports/audioports.c @@ -40,13 +40,8 @@ void ConfigAudioPortsWrapper( #endif #if (I2S_CHANS_DAC != 0) || (I2S_CHANS_ADC != 0) -#ifndef CODEC_MASTER port p_lrclk, port p_bclk, -#else - in port p_lrclk, - in port p_bclk, -#endif #endif unsigned int divide, unsigned int dsdMode) {