From 644f9753224fcb8ab1353497d1f7cc7df22760b1 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Sat, 3 May 2014 11:26:19 +0200 Subject: [PATCH] Missed a spot for #1048, Jenkins was not happy --- radio/src/opentx.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index 7f49ba785..fd08ea0e4 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -961,8 +961,10 @@ int expo(int x, int k) void applyExpos(int16_t *anas, uint8_t mode APPLY_EXPOS_EXTRA_PARAMS) { #if defined(PCBTARANIS) +#if defined(HELI) int16_t heliAnasCopy[4]; memcpy(heliAnasCopy, heliAnas, sizeof(heliAnasCopy)); +#endif #else int16_t anas2[NUM_INPUTS]; // values before expo, to ensure same expo base when multiple expo lines are used memcpy(anas2, anas, sizeof(anas2));