[HORUS] Curves on outputs were not taken into account
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user