From e39f95fcd9f0691514faeb36245392cec5c6817b Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Wed, 13 Apr 2016 20:56:04 +0100 Subject: [PATCH] Fixed up pcm_pdm_mic() call with user interface param --- module_usb_audio/main.xc | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/module_usb_audio/main.xc b/module_usb_audio/main.xc index ad4a4b06..72e7d6f0 100755 --- a/module_usb_audio/main.xc +++ b/module_usb_audio/main.xc @@ -543,6 +543,9 @@ int main() #if (NUM_PDM_MICS > 0) chan c_pdm_pcm; +#ifdef MIC_PROCESSING_USE_INTERFACE + interface mic_process_if i_mic_process; +#endif #endif USER_MAIN_DECLARATIONS @@ -654,8 +657,13 @@ int main() #endif #if (NUM_PDM_MICS > 0) - on stdcore[PDM_TILE]: pcm_pdm_mic(c_pdm_pcm); + on stdcore[PDM_TILE]: pcm_pdm_mic(c_pdm_pcm +#ifdef MIC_PROCESSING_USE_INTERFACE + , i_mic_process #endif + ); +#endif + USER_MAIN_CORES }