mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 08:45:24 +03:00
[Horus] Extra trims added (#3393)
This commit is contained in:
parent
27d37f7b78
commit
1f6a711d24
24 changed files with 257 additions and 59 deletions
|
@ -639,7 +639,11 @@ extern uint8_t potsPos[NUM_XPOTS];
|
|||
#endif
|
||||
|
||||
bool switchState(EnumKeys enuk);
|
||||
uint8_t trimDown(uint8_t idx);
|
||||
#if defined(PCBHORUS)
|
||||
uint16_t trimDown(uint16_t idx);
|
||||
#else
|
||||
uint8_t trimDown(uint8_t idx);
|
||||
#endif
|
||||
void readKeysAndTrims();
|
||||
|
||||
uint16_t evalChkSum();
|
||||
|
@ -780,7 +784,7 @@ swsrc_t getMovedSwitch();
|
|||
#endif
|
||||
|
||||
#if defined(GVARS)
|
||||
extern int8_t trimGvar[NUM_STICKS];
|
||||
extern int8_t trimGvar[NUM_STICKS+NUM_AUX_TRIMS];
|
||||
#define TRIM_REUSED(idx) trimGvar[idx] >= 0
|
||||
#else
|
||||
#define TRIM_REUSED(idx) 0
|
||||
|
@ -1188,7 +1192,7 @@ extern CurveInfo curveInfo(uint8_t idx);
|
|||
#endif
|
||||
|
||||
extern int16_t anas [NUM_INPUTS];
|
||||
extern int16_t trims[NUM_STICKS];
|
||||
extern int16_t trims[NUM_STICKS+NUM_AUX_TRIMS];
|
||||
extern BeepANACenter bpanaCenter;
|
||||
|
||||
extern uint8_t s_mixer_first_run_done;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue