forked from PAWPAW-Mirror/lib_xua
Moving from SPDIF to SPDIF_TX
This commit is contained in:
@@ -229,17 +229,13 @@
|
|||||||
/**
|
/**
|
||||||
* @brief Enables SPDIF Tx. Default: 0 (Disabled)
|
* @brief Enables SPDIF Tx. Default: 0 (Disabled)
|
||||||
*/
|
*/
|
||||||
#ifndef SPDIF
|
#ifndef SPDIF_TX
|
||||||
#define SPDIF (0)
|
#define SPDIF_TX (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Tidy up old SPDIF usage */
|
/* Tidy up old SPDIF usage */
|
||||||
#if defined(SPDIF) && (SPDIF == 0)
|
#if defined(SPDIF_TX) && (SPDIF_TX == 0)
|
||||||
#undef SPDIF
|
#undef SPDIF_TX
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef SPDIF
|
|
||||||
#define SPDIF_TX 1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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;
|
on tile[MIDI_TILE] : clock clk_midi = CLKBLK_MIDI;
|
||||||
#endif
|
#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;
|
on tile[SPDIF_TX_TILE] : clock clk_mst_spd = CLKBLK_SPDIF_TX;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user