SPDIF_TX_INDEX not defined warning only emitted when SPDIF_TX defined

This commit is contained in:
Ross Owen
2016-07-15 15:13:39 +01:00
parent 82435da472
commit 9bcde4b466
2 changed files with 3 additions and 0 deletions

View File

@@ -3,6 +3,7 @@ sc_usb_audio Change Log
6.19.0
------
- RESOLVED: SPDIF_TX_INDEX not defined build warning only emitted when SPDIF_TX defined
6.18.1
------

View File

@@ -19,9 +19,11 @@ Warnings relating to configuration defines located in this XC source file rather
#warning MAX_FREQ not defined. Using 192000
#endif
#ifdef SPDIF_TX
#ifndef SPDIF_TX_INDEX
#warning SPDIF_TX_INDEX not defined! Using 0
#endif
#endif
#ifndef VENDOR_STR
#warning VENDOR_STR not defined. Using "XMOS"