PRSDK-927: additional fix to ensure the far qualifier only applies for C66x compilation
[keystone-rtos/edma3_lld.git] / examples / edma3_driver / src / main.c
index 7ce3c42fe53c34a4c622704bf46d037d89be1e8d..a6d37c630a6b428ba78841d032c61ed871e42af0 100644 (file)
 #include <ti/sysbios/BIOS.h>
 
 #include "sample.h"
+#if defined(_TMS320C6X)
 extern far const uint32_t numEdma3Instances;
+#else
+extern const uint32_t numEdma3Instances;
+#endif
 
 /**
 * DSP instance number on which the executable is running. Its value is