[HORUS] Curves on outputs were not taken into account

This commit is contained in:
Bertrand Songis
2016-08-27 09:49:37 +02:00
parent 76300ae92d
commit 7d1732b314
+1 -1
View File
@@ -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)