Moving from SPDIF to SPDIF_TX

This commit is contained in:
Ross Owen
2015-05-07 17:19:26 +01:00
parent 0673639e02
commit 5da9575b65
2 changed files with 5 additions and 9 deletions

View File

@@ -229,17 +229,13 @@
/**
* @brief Enables SPDIF Tx. Default: 0 (Disabled)
*/
#ifndef SPDIF
#define SPDIF (0)
#ifndef SPDIF_TX
#define SPDIF_TX (0)
#endif
/* Tidy up old SPDIF usage */
#if defined(SPDIF) && (SPDIF == 0)
#undef SPDIF
#endif
#ifdef SPDIF
#define SPDIF_TX 1
#if defined(SPDIF_TX) && (SPDIF_TX == 0)
#undef SPDIF_TX
#endif
/**

View File

@@ -151,7 +151,7 @@ on tile[MIDI_TILE] : buffered in port:1 p_midi_rx = PORT_MIDI_IN;
on tile[MIDI_TILE] : clock clk_midi = CLKBLK_MIDI;
#endif
#if defined(SPDIF) || defined(ADAT_TX)
#if defined(SPDIF_TX) || defined(ADAT_TX)
on tile[SPDIF_TX_TILE] : clock clk_mst_spd = CLKBLK_SPDIF_TX;
#endif