From c597bf6211a023c93fb2da521cc285032dff3137 Mon Sep 17 00:00:00 2001 From: xross Date: Wed, 17 Jan 2018 14:33:23 +0000 Subject: [PATCH] Fix issue when LR clock is not properly setup for sync test --- lib_xua/src/core/audiohub/xua_audiohub.xc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib_xua/src/core/audiohub/xua_audiohub.xc b/lib_xua/src/core/audiohub/xua_audiohub.xc index 977a55fb..ea794a8d 100755 --- a/lib_xua/src/core/audiohub/xua_audiohub.xc +++ b/lib_xua/src/core/audiohub/xua_audiohub.xc @@ -435,6 +435,8 @@ static inline void InitPorts_slave(unsigned divide) asm("setpt res[%0], %1"::"r"(p_i2s_adc[i]),"r"(tmp-1)); } #endif + + asm("setpt res[%0], %1"::"r"(p_lrclk),"r"(tmp-1)); } #endif