1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

[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

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)