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)