mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 11:29:51 +03:00
Avoid EEPROM change by recovering some unused bits
This commit is contained in:
parent
30018b2432
commit
18f56075a5
1 changed files with 2 additions and 2 deletions
|
@ -911,11 +911,11 @@ PACK(struct TrainerData {
|
|||
uint8_t slidersConfig:2; \
|
||||
uint32_t switchConfig; \
|
||||
uint8_t potsConfig; /* two bits per pot */ \
|
||||
NOBACKUP(uint8_t blOffBright); \
|
||||
NOBACKUP(char switchNames[NUM_SWITCHES][LEN_SWITCH_NAME]); \
|
||||
NOBACKUP(char anaNames[NUM_STICKS+NUM_POTS][LEN_ANA_NAME]); \
|
||||
NOBACKUP(char currModelFilename[LEN_MODEL_FILENAME+1]); \
|
||||
NOBACKUP(uint8_t bluetoothEnable); \
|
||||
NOBACKUP(uint8_t bluetoothEnable:1); \
|
||||
NOBACKUP(uint8_t blOffBright:7); \
|
||||
NOBACKUP(char bluetoothName[LEN_BLUETOOTH_NAME]);
|
||||
#elif defined(PCBFLAMENCO)
|
||||
#define EXTRA_GENERAL_FIELDS \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue