Fix guarding on i_pll for sync

This commit is contained in:
Ed
2024-01-15 17:43:51 +00:00
parent af9a6b18b2
commit eb6ed9f56e

View File

@@ -314,11 +314,11 @@ void usb_audio_io(chanend ?c_aud_in,
#endif #endif
#if (XUA_SPDIF_RX_EN || XUA_ADAT_RX_EN) #if (XUA_SPDIF_RX_EN || XUA_ADAT_RX_EN)
, client interface pll_ref_if i_pll_ref , client interface pll_ref_if i_pll_ref
#if USE_SW_PLL #endif
#if ((XUA_SPDIF_RX_EN || XUA_ADAT_RX_EN) && USE_SW_PLL)
, port p_for_mclk_count_aud , port p_for_mclk_count_aud
, chanend c_sw_pll , chanend c_sw_pll
#endif /* USE_SW_PLL */ #endif
#endif /* (XUA_SPDIF_RX_EN || XUA_ADAT_RX_EN) */
) )
{ {
#if (MIXER) #if (MIXER)
@@ -629,10 +629,10 @@ int main()
#endif #endif
#if (XUA_NUM_PDM_MICS > 0) #if (XUA_NUM_PDM_MICS > 0)
#endif #endif
#if ((XUA_SYNCMODE == XUA_SYNCMODE_SYNC && !USE_SW_PLL) || XUA_SPDIF_RX_EN || XUA_ADAT_RX_EN) #if (XUA_SPDIF_RX_EN || XUA_ADAT_RX_EN)
, i_pll_ref , i_pll_ref
#endif #endif
#if (USE_SW_PLL && (XUA_SPDIF_RX_EN || XUA_ADAT_RX_EN)) #if ((XUA_SPDIF_RX_EN || XUA_ADAT_RX_EN) && USE_SW_PLL)
, p_for_mclk_count_audio , p_for_mclk_count_audio
, c_sw_pll , c_sw_pll
#endif #endif