From 6dbff06dced9db546ee67ea159267397a38d6a21 Mon Sep 17 00:00:00 2001 From: Oscar Bailey Date: Tue, 10 Nov 2020 14:35:54 +0000 Subject: [PATCH] Fix typo in pdm_mic.xc causing firmware crash --- lib_xua/src/core/pdm_mics/pdm_mic.xc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib_xua/src/core/pdm_mics/pdm_mic.xc b/lib_xua/src/core/pdm_mics/pdm_mic.xc index b853f2d0..5b2b5142 100644 --- a/lib_xua/src/core/pdm_mics/pdm_mic.xc +++ b/lib_xua/src/core/pdm_mics/pdm_mic.xc @@ -115,7 +115,7 @@ void XUA_PdmBuffer(streaming chanend c_ds_output[2], chanend c_audio) dc[1].mic_gain_compensation[2]=0; dc[1].mic_gain_compensation[3]=0; dc[1].channel_count = 4; - dc[0].async_interface_enabled = 0; + dc[1].async_interface_enabled = 0; mic_array_decimator_configure(c_ds_output, decimatorCount, dc);