Fixed a problem with MSVC
This commit is contained in:
@@ -968,6 +968,12 @@ PACK(struct TrainerData {
|
|||||||
#define THEME_DATA
|
#define THEME_DATA
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(BUZZER)
|
||||||
|
#define BUZZER_FIELD NOBACKUP(int8_t buzzerMode:2); // -2=quiet, -1=only alarms, 0=no keys, 1=all (only used on AVR radios without audio hardware)
|
||||||
|
#else
|
||||||
|
#define BUZZER_FIELD NOBACKUP(int8_t spareRadio:2);
|
||||||
|
#endif
|
||||||
|
|
||||||
PACK(struct RadioData {
|
PACK(struct RadioData {
|
||||||
NOBACKUP(uint8_t version);
|
NOBACKUP(uint8_t version);
|
||||||
NOBACKUP(uint16_t variant);
|
NOBACKUP(uint16_t variant);
|
||||||
@@ -980,11 +986,7 @@ PACK(struct RadioData {
|
|||||||
NOBACKUP(int8_t backlightMode);
|
NOBACKUP(int8_t backlightMode);
|
||||||
NOBACKUP(TrainerData trainer);
|
NOBACKUP(TrainerData trainer);
|
||||||
NOBACKUP(uint8_t view); // index of view in main screen
|
NOBACKUP(uint8_t view); // index of view in main screen
|
||||||
#if defined(BUZZER)
|
BUZZER_FIELD
|
||||||
NOBACKUP(int8_t buzzerMode:2); // -2=quiet, -1=only alarms, 0=no keys, 1=all (only used on AVR radios without audio hardware)
|
|
||||||
#else
|
|
||||||
NOBACKUP(int8_t spareRadio:2);
|
|
||||||
#endif
|
|
||||||
NOBACKUP(uint8_t fai:1);
|
NOBACKUP(uint8_t fai:1);
|
||||||
NOBACKUP(int8_t beepMode:2); // -2=quiet, -1=only alarms, 0=no keys, 1=all
|
NOBACKUP(int8_t beepMode:2); // -2=quiet, -1=only alarms, 0=no keys, 1=all
|
||||||
NOBACKUP(uint8_t alarmsFlash:1);
|
NOBACKUP(uint8_t alarmsFlash:1);
|
||||||
|
|||||||
Reference in New Issue
Block a user