diff --git a/module_usb_audio/main.xc b/module_usb_audio/main.xc index 0fafcbdc..27ca08e9 100755 --- a/module_usb_audio/main.xc +++ b/module_usb_audio/main.xc @@ -674,21 +674,23 @@ int main() } #endif + #if (XUD_TILE != 0 ) && (AUDIO_IO_TILE != 0) /* Run flash code on its own - hope it gets combined */ #warning Running DFU flash code on its own on stdcore[0]: DFUHandler(dfuInterface, null); #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