Beeper mode is now splitted from beeper length. Haptic mode added. Haptic only sounds now ok on v4.

This commit is contained in:
bsongis
2012-02-16 13:12:35 +00:00
parent a021b66a9b
commit c4147980c9
12 changed files with 159 additions and 135 deletions
+6 -3
View File
@@ -84,7 +84,8 @@ PACK(typedef struct t_EEGeneral {
uint8_t view; //index of subview in main scrren
uint8_t disableThrottleWarning:1;
int8_t switchWarning:2; // -1=down, 0=off, 1=up
uint8_t beeperVal:3;
int8_t beeperMode:2; // -2=quiet, -1=only alarms, 0=no keys, 1=all
uint8_t spare1:1;
uint8_t disableMemoryWarning:1;
uint8_t disableAlarmWarning:1;
uint8_t stickMode;
@@ -95,14 +96,16 @@ PACK(typedef struct t_EEGeneral {
uint8_t flashBeep:1;
uint8_t disableSplashScreen:1;
uint8_t enableTelemetryAlarm:1; // 0=no, 1=yes (Sound alarm when there's no telem. data coming in)
uint8_t spare:2;
int8_t hapticMode:2; // -2=quiet, -1=only alarms, 0=no keys, 1=all
uint8_t filterInput;
uint8_t lightAutoOff;
uint8_t templateSetup; //RETA order according to chout_ar array
int8_t PPM_Multiplier;
FrSkyRSSIAlarm frskyRssiAlarms[2];
int8_t beeperLength:3;
uint8_t hapticStrength:3;
uint8_t spare2:2;
uint8_t speakerPitch;
uint8_t hapticStrength;
}) EEGeneral;
// eeprom modelspec