From 5e1c642a350db76ee3308e0f948efeb4a28898d7 Mon Sep 17 00:00:00 2001 From: Ivan Pang Date: Wed, 14 Sep 2016 10:52:41 -0500 Subject: [PATCH] PRSDK-927: additional fix to ensure the far qualifier only applies for C66x compilation Signed-off-by: Ivan Pang --- examples/edma3_driver/src/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/edma3_driver/src/main.c b/examples/edma3_driver/src/main.c index 7ce3c42..a6d37c6 100644 --- a/examples/edma3_driver/src/main.c +++ b/examples/edma3_driver/src/main.c @@ -44,7 +44,11 @@ #include #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 -- 2.39.2