# HG changeset patch # User Mychaela Falconia # Date 1465549013 0 # Node ID 5fd4e7669c93ea5c6bc4620df1b41cd8a18c5705 # Parent 12f6c51be7b3a3e8a4441a9b42ac6f9b11b3fea5 l1_confg.h: band-aid fix for DSP_DEBUG_TRACE_ENABLE with L1_DYN_DSP_DWNLD diff -r 12f6c51be7b3 -r 5fd4e7669c93 L1/include/l1_confg.h --- a/L1/include/l1_confg.h Fri Jun 10 07:53:54 2016 +0000 +++ b/L1/include/l1_confg.h Fri Jun 10 08:56:53 2016 +0000 @@ -895,6 +895,19 @@ #endif #endif // DSP +/* + * FreeCalypso band-aid: when we build with MELODY_E2 disabled and + * DSP_DEBUG_TRACE_ENABLE gets set to 1 by the logic above as a result, + * but L1_DYN_DSP_DWNLD is enabled, some code in l1_sync.c fails to + * compile. Our band-aid solution is to disable DSP_DEBUG_TRACE_ENABLE: + * after all, our TCS211 golden reference is built with MELODY_E2 + * enabled, so it has DSP_DEBUG_TRACE_ENABLE set to 0. + */ +#if L1_DYN_DSP_DWNLD + #undef DSP_DEBUG_TRACE_ENABLE + #define DSP_DEBUG_TRACE_ENABLE 0 +#endif + /*------------------------------------*/ /* Default value */ /*------------------------------------*/