Exception when SPDIF_TX and ADAT_TX both enabled due to clock-block being configured after already started. Caused by SPDIF_TX define check typo

This commit is contained in:
Ross Owen
2015-10-06 16:48:30 +01:00
parent c5d9f247e0
commit 49cd36dd67
2 changed files with 4 additions and 3 deletions

View File

@@ -994,7 +994,7 @@ chanend ?c_config, chanend ?c
configure_clock_src(clk_mst_spd, p_mclk_in);
configure_out_port_no_ready(p_adat_tx, clk_mst_spd, 0);
set_clock_fall_delay(clk_mst_spd, 7);
#ifndef SPDIF
#ifndef SPDIF_TX
start_clock(clk_mst_spd);
#endif
#endif