VC++ compilation

This commit is contained in:
Andre Bernet
2016-06-23 15:35:32 +02:00
parent e282c02be2
commit 8119da792d
2 changed files with 14 additions and 18 deletions
+12 -17
View File
@@ -762,24 +762,19 @@ PACK(typedef struct {
int8_t varioRepeat; int8_t varioRepeat;
int8_t backgroundVolume; int8_t backgroundVolume;
#if defined(PCBTARANIS) TARANIS_FIELD(uint8_t serial2Mode : 6)
uint8_t serial2Mode:6; TARANIS_FIELD(uint8_t slidersConfig : 2)
uint8_t slidersConfig:2; TARANIS_FIELD(uint8_t potsConfig)
uint8_t potsConfig; TARANIS_FIELD(uint8_t backlightColor)
uint8_t backlightColor; TARANIS_FIELD(swarnstate_t switchUnlockStates)
swarnstate_t switchUnlockStates; TARANIS_FIELD(CustomFunctionData_v216 customFn[NUM_CFN])
CustomFunctionData_v216 customFn[NUM_CFN]; TARANIS_FIELD(swconfig_t switchConfig)
swconfig_t switchConfig; TARANIS_FIELD(char switchNames[NUM_SWITCHES][LEN_SWITCH_NAME])
char switchNames[NUM_SWITCHES][LEN_SWITCH_NAME]; TARANIS_FIELD(char anaNames[NUM_STICKS + NUM_POTS][LEN_ANA_NAME])
char anaNames[NUM_STICKS+NUM_POTS][LEN_ANA_NAME]; N_TARANIS_FIELD(CustomFunctionData_v216 customFn[NUM_CFN])
#else
CustomFunctionData_v216 customFn[NUM_CFN];
#endif
#if defined(PCBTARANIS) && defined(REV9E) TARANIS_REV9E_FIELD(uint8_t bluetoothEnable)
uint8_t bluetoothEnable; TARANIS_REV9E_FIELD(char bluetoothName[LEN_BLUETOOTH_NAME])
char bluetoothName[LEN_BLUETOOTH_NAME];
#endif
}) RadioData_v216; }) RadioData_v216;
void ConvertRadioData_216_to_217(RadioData & settings) void ConvertRadioData_216_to_217(RadioData & settings)
+1
View File
@@ -755,6 +755,7 @@ extern const pm_char STR_OWN[];
extern const pm_char STR_ROTARY_ENCODER[]; extern const pm_char STR_ROTARY_ENCODER[];
extern const pm_char STR_DATE[]; extern const pm_char STR_DATE[];
extern const pm_char STR_CHANNELS_MONITOR[]; extern const pm_char STR_CHANNELS_MONITOR[];
extern const pm_char STR_MIXERS_MONITOR[];
extern const pm_char STR_PATH_TOO_LONG[]; extern const pm_char STR_PATH_TOO_LONG[];
extern const pm_char STR_VIEW_TEXT[]; extern const pm_char STR_VIEW_TEXT[];
extern const pm_char STR_FLASH_BOOTLOADER[]; extern const pm_char STR_FLASH_BOOTLOADER[];