Backlight function switch
No batt volts averaging during calib Flight phase in bold in Phase One when enabled Flash savings [ersky9x] Delay / Duration in custom switches
This commit is contained in:
@@ -147,7 +147,7 @@
|
||||
#else
|
||||
#define TR_TEST
|
||||
#endif
|
||||
#define TR_VFSWFUNC "Bezpe\201\0 ""Tren\202r\0 ""Instant Trim " TR_SOUND TR_HAPTIC "Reset\0 " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME TR_TEST
|
||||
#define TR_VFSWFUNC "Bezpe\201\0 ""Tren\202r\0 ""Instant Trim " TR_SOUND TR_HAPTIC "Reset\0 " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME "Backlight\0 " TR_TEST
|
||||
|
||||
#define LEN_VFSWRESET "\006"
|
||||
#define TR_VFSWRESET "Timer1""Timer2""Vse ""Telem."
|
||||
@@ -323,8 +323,8 @@
|
||||
#define TR_MINUTEBEEP "P\204pat: Minuta"
|
||||
#define TR_BEEPCOUNTDOWN " += Odpo\201et"
|
||||
#define TR_FLASHONBEEP "Podsv\203tl.:Alarm"
|
||||
#define TR_LIGHTSWITCH " += Sp\204na\201"
|
||||
#define TR_LIGHTOFFAFTER " += Zhasnout po"
|
||||
#define TR_BLMODE " += Sp\204na\201"
|
||||
#define TR_BLDELAY " += Zhasnout po"
|
||||
#define TR_SPLASHSCREEN "\210vodn\204Logo"
|
||||
#define TR_THROTTLEWARNING "Upoz:Plyn"
|
||||
#define TR_SWITCHWARNING "+=Sp\204na\201e"
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
#else
|
||||
#define TR_TEST
|
||||
#endif
|
||||
#define TR_VFSWFUNC "Safety\0 ""Trainer \0 ""Instant Trim " TR_SOUND TR_HAPTIC "Reset\0 " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME TR_TEST
|
||||
#define TR_VFSWFUNC "Safety\0 ""Trainer \0 ""Instant Trim " TR_SOUND TR_HAPTIC "Reset\0 " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME "Backlight\0 " TR_TEST
|
||||
|
||||
#define LEN_VFSWRESET "\006"
|
||||
#define TR_VFSWRESET "Timer1""Timer2""Alle ""Telem."
|
||||
@@ -323,8 +323,8 @@
|
||||
#define TR_MINUTEBEEP "Pieper Minuten"
|
||||
#define TR_BEEPCOUNTDOWN "Pieper Countdown"
|
||||
#define TR_FLASHONBEEP "Pieper+Blinken"
|
||||
#define TR_LIGHTSWITCH "Licht Steuerung"
|
||||
#define TR_LIGHTOFFAFTER "Licht aus nach"
|
||||
#define TR_BLMODE "Licht Steuerung"
|
||||
#define TR_BLDELAY "Licht aus nach"
|
||||
#define TR_SPLASHSCREEN "Startbild"
|
||||
#define TR_THROTTLEWARNING "T-Warnung"
|
||||
#define TR_SWITCHWARNING "S-Warnung"
|
||||
|
||||
@@ -148,7 +148,7 @@
|
||||
#else
|
||||
#define TR_TEST
|
||||
#endif
|
||||
#define TR_VFSWFUNC "Safety\0 ""Trainer \0 ""Instant Trim " TR_SOUND TR_HAPTIC "Reset\0 " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME TR_TEST
|
||||
#define TR_VFSWFUNC "Safety\0 ""Trainer \0 ""Instant Trim " TR_SOUND TR_HAPTIC "Reset\0 " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME "Backlight\0 " TR_TEST
|
||||
|
||||
#define LEN_VFSWRESET "\006"
|
||||
#define TR_VFSWRESET "Timer1""Timer2""All ""Telem."
|
||||
@@ -324,8 +324,8 @@
|
||||
#define TR_MINUTEBEEP "Minute beep"
|
||||
#define TR_BEEPCOUNTDOWN "Beep countdown"
|
||||
#define TR_FLASHONBEEP "Flash on beep"
|
||||
#define TR_LIGHTSWITCH "Light switch"
|
||||
#define TR_LIGHTOFFAFTER "Light off after"
|
||||
#define TR_BLMODE "Backlight mode"
|
||||
#define TR_BLDELAY "Backlight delay"
|
||||
#define TR_SPLASHSCREEN "Splash screen"
|
||||
#define TR_THROTTLEWARNING "T-Warning"
|
||||
#define TR_SWITCHWARNING "S-Warning"
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
#else
|
||||
#define TR_TEST
|
||||
#endif
|
||||
#define TR_VFSWFUNC "S\200cur.\0 ""Ecolage \0 ""Trim instant." TR_SOUND TR_HAPTIC "Reset\0 " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME TR_TEST
|
||||
#define TR_VFSWFUNC "S\200cur.\0 ""Ecolage \0 ""Trim instant." TR_SOUND TR_HAPTIC "Reset\0 " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME "Backlight\0 " TR_TEST
|
||||
|
||||
#define LEN_VFSWRESET "\006"
|
||||
#define TR_VFSWRESET "Timer1""Timer2""Tout ""T\200l\200m."
|
||||
@@ -321,8 +321,8 @@
|
||||
#define TR_MINUTEBEEP "Bip t.minutes"
|
||||
#define TR_BEEPCOUNTDOWN "Bip \202 rebours"
|
||||
#define TR_FLASHONBEEP "Flash quand bip"
|
||||
#define TR_LIGHTSWITCH "Inter \200clairage"
|
||||
#define TR_LIGHTOFFAFTER "Dur\200e \200clairage"
|
||||
#define TR_BLMODE "Inter \200clairage"
|
||||
#define TR_BLDELAY "Dur\200e \200clairage"
|
||||
#define TR_SPLASHSCREEN "Ecran d'accueil"
|
||||
#define TR_SWITCHWARNING "Alerte Int"
|
||||
#define TR_MEMORYWARNING "Alerte m\200moire"
|
||||
|
||||
@@ -147,7 +147,7 @@
|
||||
#else
|
||||
#define TR_TEST
|
||||
#endif
|
||||
#define TR_VFSWFUNC "Blocco\0 ""Trainer \0 ""Instant Trim " TR_SOUND TR_HAPTIC "Reset\0 " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME TR_TEST
|
||||
#define TR_VFSWFUNC "Blocco\0 ""Trainer \0 ""Instant Trim " TR_SOUND TR_HAPTIC "Reset\0 " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME "Backlight\0 " TR_TEST
|
||||
|
||||
#define LEN_VFSWRESET "\006"
|
||||
#define TR_VFSWRESET "Timer1""Timer2""Tutto ""Telem."
|
||||
@@ -323,8 +323,8 @@
|
||||
#define TR_MINUTEBEEP "Beep minuto"
|
||||
#define TR_BEEPCOUNTDOWN "Beep cont.rov."
|
||||
#define TR_FLASHONBEEP "Lamp. al beep"
|
||||
#define TR_LIGHTSWITCH "Switch ill. "
|
||||
#define TR_LIGHTOFFAFTER "Spegni ill.dopo"
|
||||
#define TR_BLMODE "Switch ill. "
|
||||
#define TR_BLDELAY "Spegni ill.dopo"
|
||||
#define TR_SPLASHSCREEN "Schermata avvio"
|
||||
#define TR_THROTTLEWARNING "All. Thr "
|
||||
#define TR_SWITCHWARNING "Avv. SW. "
|
||||
|
||||
@@ -142,7 +142,7 @@
|
||||
#else
|
||||
#define TR_TEST
|
||||
#endif
|
||||
#define TR_VFSWFUNC "S\201kra\0 ""Trainer\0 ""S\201tt Trim " TR_SOUND TR_HAPTIC "Nollst\201ll " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME TR_TEST
|
||||
#define TR_VFSWFUNC "S\201kra\0 ""Trainer\0 ""S\201tt Trim " TR_SOUND TR_HAPTIC "Nollst\201ll " TR_VVARIO TR_PLAY_TRACK TR_PLAY_VALUE TR_SDCLOGS TR_FSW_VOLUME "Backlight\0 " TR_TEST
|
||||
|
||||
#define LEN_VFSWRESET "\006"
|
||||
#define TR_VFSWRESET "Timer1""Timer2""Allt ""Telem."
|
||||
@@ -320,8 +320,8 @@
|
||||
#define TR_MINUTEBEEP "Minutpip"
|
||||
#define TR_BEEPCOUNTDOWN "Nedr\201kningspip"
|
||||
#define TR_FLASHONBEEP "Pip vid blink"
|
||||
#define TR_LIGHTSWITCH "Ljusbrytare"
|
||||
#define TR_LIGHTOFFAFTER "Ljus av efter"
|
||||
#define TR_BLMODE "Ljusbrytare"
|
||||
#define TR_BLDELAY "Ljus av efter"
|
||||
#define TR_SPLASHSCREEN "Bild vid start"
|
||||
#define TR_THROTTLEWARNING "Gasvarn."
|
||||
#define TR_SWITCHWARNING "Bryt.varn."
|
||||
|
||||
@@ -145,7 +145,7 @@ void playDuration(int16_t seconds)
|
||||
seconds = -seconds;
|
||||
}
|
||||
|
||||
uint8_t ore;
|
||||
uint8_t ore = 0;
|
||||
uint8_t tmp = seconds / 3600;
|
||||
seconds %= 3600;
|
||||
if (tmp > 0) {
|
||||
|
||||
Reference in New Issue
Block a user