1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 11:29:51 +03:00

[Horus] Pots / Sliders default config was wrong. Is it better?

This commit is contained in:
Bertrand Songis 2016-08-31 19:48:17 +02:00
parent f97eda2b4f
commit 4e576efdd7
3 changed files with 8 additions and 4 deletions

View file

@ -876,8 +876,8 @@ PACK(struct TrainerData {
#if defined(PCBHORUS)
#define EXTRA_GENERAL_FIELDS \
EXTRA_GENERAL_FIELDS_ARM \
NOBACKUP(uint8_t serial2Mode:6); \
uint8_t slidersConfig:2; \
NOBACKUP(uint8_t serial2Mode:4); \
uint8_t slidersConfig:4; \
uint32_t switchConfig; \
uint8_t potsConfig; /* two bits per pot */ \
NOBACKUP(char switchNames[NUM_SWITCHES][LEN_SWITCH_NAME]); \