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

Compilation error

This commit is contained in:
Bertrand Songis 2016-01-15 09:09:19 +01:00
parent efb37a4419
commit ab4efe89cc

View file

@ -79,7 +79,7 @@ void applyExpos(int16_t * anas, uint8_t mode APPLY_EXPOS_EXTRA_PARAMS)
if (ed->srcRaw >= MIXSRC_FIRST_TELEM && ed->scale > 0) {
v = (v * 1024) / convertTelemValue(ed->srcRaw-MIXSRC_FIRST_TELEM+1, ed->scale);
}
v = limit(-1024, v, 1024);
v = limit<int32_t>(-1024, v, 1024);
}
#else
int16_t v = anas2[ed->chn];