HORUS fixes
This commit is contained in:
@@ -716,9 +716,9 @@ PACK(struct TrainerData {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(BUZZER)
|
#if defined(BUZZER)
|
||||||
#define BUZZER_FIELD int8_t buzzerMode:2; // -2=quiet, -1=only alarms, 0=no keys, 1=all (only used on AVR radios without audio hardware)
|
#define BUZZER_FIELD int8_t buzzerMode:2 // -2=quiet, -1=only alarms, 0=no keys, 1=all (only used on AVR radios without audio hardware)
|
||||||
#else
|
#else
|
||||||
#define BUZZER_FIELD int8_t spareRadio:2;
|
#define BUZZER_FIELD int8_t spareRadio:2
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
PACK(struct RadioData {
|
PACK(struct RadioData {
|
||||||
@@ -733,19 +733,19 @@ 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
|
||||||
BUZZER_FIELD
|
NOBACKUP(BUZZER_FIELD); /* 2bits */
|
||||||
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);
|
||||||
NOBACKUP(uint8_t disableMemoryWarning:1);
|
NOBACKUP(uint8_t disableMemoryWarning:1);
|
||||||
NOBACKUP(uint8_t disableAlarmWarning:1);
|
NOBACKUP(uint8_t disableAlarmWarning:1);
|
||||||
uint8_t stickMode:2;
|
uint8_t stickMode:2;
|
||||||
NOBACKUP(int8_t timezone:5);
|
int8_t timezone:5;
|
||||||
NOBACKUP(uint8_t adjustRTC:1);
|
uint8_t adjustRTC:1;
|
||||||
NOBACKUP(uint8_t inactivityTimer);
|
NOBACKUP(uint8_t inactivityTimer);
|
||||||
uint8_t telemetryBaudrate:3;
|
uint8_t telemetryBaudrate:3;
|
||||||
SPLASH_MODE; /* 3bits */
|
SPLASH_MODE; /* 3bits */
|
||||||
NOBACKUP(int8_t hapticMode:2); // -2=quiet, -1=only alarms, 0=no keys, 1=all
|
int8_t hapticMode:2; // -2=quiet, -1=only alarms, 0=no keys, 1=all
|
||||||
int8_t switchesDelay;
|
int8_t switchesDelay;
|
||||||
NOBACKUP(uint8_t lightAutoOff);
|
NOBACKUP(uint8_t lightAutoOff);
|
||||||
NOBACKUP(uint8_t templateSetup); // RETA order for receiver channels
|
NOBACKUP(uint8_t templateSetup); // RETA order for receiver channels
|
||||||
|
|||||||
@@ -130,6 +130,9 @@ const uint8_t RADIO_ICONS[] = {
|
|||||||
ICON_RADIO,
|
ICON_RADIO,
|
||||||
ICON_RADIO_SETUP,
|
ICON_RADIO_SETUP,
|
||||||
ICON_RADIO_SD_BROWSER,
|
ICON_RADIO_SD_BROWSER,
|
||||||
|
#if defined(PXX2)
|
||||||
|
ICON_RADIO_SETUP,
|
||||||
|
#endif
|
||||||
ICON_RADIO_GLOBAL_FUNCTIONS,
|
ICON_RADIO_GLOBAL_FUNCTIONS,
|
||||||
ICON_RADIO_TRAINER,
|
ICON_RADIO_TRAINER,
|
||||||
ICON_RADIO_HARDWARE,
|
ICON_RADIO_HARDWARE,
|
||||||
|
|||||||
@@ -319,7 +319,6 @@ void copyRadioData(A * dest, B * src)
|
|||||||
for (int i=0; i<13; i++) {
|
for (int i=0; i<13; i++) {
|
||||||
copyCalibData(&dest->calib[i], &src->calib[i]);
|
copyCalibData(&dest->calib[i], &src->calib[i]);
|
||||||
}
|
}
|
||||||
dest->spareRadio = src->spareRadio;
|
|
||||||
dest->stickMode = src->stickMode;
|
dest->stickMode = src->stickMode;
|
||||||
dest->telemetryBaudrate = src->telemetryBaudrate;
|
dest->telemetryBaudrate = src->telemetryBaudrate;
|
||||||
dest->splashSpares = src->splashSpares;
|
dest->splashSpares = src->splashSpares;
|
||||||
|
|||||||
Reference in New Issue
Block a user