Missed a spot for #1048, Jenkins was not happy
This commit is contained in:
@@ -961,8 +961,10 @@ int expo(int x, int k)
|
|||||||
void applyExpos(int16_t *anas, uint8_t mode APPLY_EXPOS_EXTRA_PARAMS)
|
void applyExpos(int16_t *anas, uint8_t mode APPLY_EXPOS_EXTRA_PARAMS)
|
||||||
{
|
{
|
||||||
#if defined(PCBTARANIS)
|
#if defined(PCBTARANIS)
|
||||||
|
#if defined(HELI)
|
||||||
int16_t heliAnasCopy[4];
|
int16_t heliAnasCopy[4];
|
||||||
memcpy(heliAnasCopy, heliAnas, sizeof(heliAnasCopy));
|
memcpy(heliAnasCopy, heliAnas, sizeof(heliAnasCopy));
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
int16_t anas2[NUM_INPUTS]; // values before expo, to ensure same expo base when multiple expo lines are used
|
int16_t anas2[NUM_INPUTS]; // values before expo, to ensure same expo base when multiple expo lines are used
|
||||||
memcpy(anas2, anas, sizeof(anas2));
|
memcpy(anas2, anas, sizeof(anas2));
|
||||||
|
|||||||
Reference in New Issue
Block a user