c_dig_rx only declared if required (saves chanends)

This commit is contained in:
Ross Owen
2014-08-21 15:36:01 +01:00
parent 6477ecc676
commit 05e12ac183

View File

@@ -364,7 +364,11 @@ chanend ?c_clk_int
chan c_mix_out;
#endif
#if defined(SPDIF_RX) || defined(ADAT_RX)
chan c_dig_rx;
#else
#define c_dig_rx null
#endif
par
{