From 581287f0ee8380fc0910afd59bec2b53da2421b2 Mon Sep 17 00:00:00 2001 From: Brendon Date: Wed, 24 May 2017 14:10:27 +0100 Subject: [PATCH] modifications required for pdm replay to work --- module_usb_audio/main.xc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module_usb_audio/main.xc b/module_usb_audio/main.xc index 45b47c67..02c8a2e9 100755 --- a/module_usb_audio/main.xc +++ b/module_usb_audio/main.xc @@ -674,14 +674,16 @@ int main() } #endif +#ifndef PDM_RECORD #if (NUM_PDM_MICS > 0) on stdcore[PDM_TILE]: pdm_mic(c_ds_output); #ifdef MIC_PROCESSING_USE_INTERFACE on stdcore[PDM_TILE].core[0]: pdm_buffer(c_ds_output, c_pdm_pcm, i_mic_process); #else on stdcore[PDM_TILE].core[0]: pdm_buffer(c_ds_output, c_pdm_pcm); -#endif -#endif +#endif /*MIC_PROCESSING_USE_INTERFACE*/ +#endif /*NUM_PDM_MICS > 0*/ +#endif /*PDM_RECORD*/ #ifdef SU1_ADC_ENABLE