From 7d1732b314da936281914b2ef621a1d111d4f4cf Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Sat, 27 Aug 2016 09:49:37 +0200 Subject: [PATCH] [HORUS] Curves on outputs were not taken into account --- radio/src/mixer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radio/src/mixer.cpp b/radio/src/mixer.cpp index 4167ca2a4..f27320c5e 100644 --- a/radio/src/mixer.cpp +++ b/radio/src/mixer.cpp @@ -158,7 +158,7 @@ int16_t applyLimits(uint8_t channel, int32_t value) { LimitData * lim = limitAddress(channel); -#if defined(PCBTARANIS) && defined(CURVES) +#if defined(CPUARM) && defined(CURVES) if (lim->curve) { // TODO we loose precision here, applyCustomCurve could work with int32_t on ARM boards... if (lim->curve > 0)