forked from PAWPAW-Mirror/lib_xua
SPDIF_TX_INDEX not defined warning only emitted when SPDIF_TX defined
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user