mirror of
https://github.com/opentx/opentx.git
synced 2025-07-23 00:05:17 +03:00
Bug found in Pots Warning (Auto mode)
This commit is contained in:
parent
207fc721fa
commit
0ea3daa4c4
4 changed files with 11 additions and 8 deletions
|
@ -361,6 +361,9 @@ enum PotType {
|
|||
#define IS_POT_MULTIPOS(x) (false)
|
||||
#endif
|
||||
|
||||
#define GET_LOWRES_POT_POSITION(i) (getValue(MIXSRC_FIRST_POT+(i)) >> 4)
|
||||
#define SAVE_POT_POSITION(i) g_model.potPosition[i] = GET_LOWRES_POT_POSITION(i)
|
||||
|
||||
#if ROTARY_ENCODERS > 0
|
||||
#define IF_ROTARY_ENCODERS(x) x,
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue