mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 17:55:19 +03:00
Cleanup to remove compile error
This commit is contained in:
parent
05e46242b0
commit
95a1fd273b
1 changed files with 2 additions and 2 deletions
|
@ -39,9 +39,9 @@
|
||||||
volatile uint16_t Analog_values[NUMBER_ANALOG];
|
volatile uint16_t Analog_values[NUMBER_ANALOG];
|
||||||
|
|
||||||
#if defined(STICK_RUD_REV) || defined(STICK_AIL_REV) || defined(STICK_ELE_REV) || defined(STICK_THR_REV)
|
#if defined(STICK_RUD_REV) || defined(STICK_AIL_REV) || defined(STICK_ELE_REV) || defined(STICK_THR_REV)
|
||||||
const char ana_direction[NUMBER_ANALOG] = {'STICK_AIL_REV', 'STICK_RUD_REV', 0, 'STICK_ELE_REV' ,0 , 'STICK_THR_REV',0};
|
const char ana_direction[NUMBER_ANALOG] = {STICK_AIL_REV, STICK_RUD_REV, 0, STICK_ELE_REV ,0 , STICK_THR_REV,0, 0, 0};
|
||||||
#else
|
#else
|
||||||
const char ana_direction[NUMBER_ANALOG] = {0, 0, 0, 0 ,0 ,0 ,0};
|
const char ana_direction[NUMBER_ANALOG] = {0, 0, 0, 0 ,0 ,0 ,0 , 0, 0};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue