fix(radio): YAML timer handling (#3949)

* fix: YAML timer handling

* chore: improve YAML set timer handling

* chore: improve timer handling

* feat: only offer defined timer for set and reset functions

* feat: only offer defined timer for set and reset functions (bw)

* chore: cosmetics
This commit is contained in:
3djc
2023-08-28 20:02:03 +10:00
committed by GitHub
parent e56cffafa9
commit 78aa381464
19 changed files with 61 additions and 82 deletions
+1 -6
View File
@@ -129,12 +129,7 @@
#define TR_SF_RESERVE "[reserv]"
#define TR_FSW_RESET_TELEM TR("Telm","Telemetri")
#if LCD_W >= 212
#define TR_FSW_RESET_TIMERS "Timer 1","Timer 2","Timer 3"
#else
#define TR_FSW_RESET_TIMERS "Tmr1","Tmr2","Tmr3"
#endif
#define TR_FSW_RESET_TIMERS "Tmr1","Tmr2","Tmr3"
#define TR_VFSWRESET TR_FSW_RESET_TIMERS,"Alla",TR_FSW_RESET_TELEM
#define TR_FUNCSOUNDS TR("Bp1","Beep1"),TR("Bp2","Beep2"),TR("Bp3","Beep3"),TR("Wrn1","Warn1"),TR("Wrn2","Warn2"),TR("Chee","Cheep"),TR("Rata","Ratata"),"Tick",TR("Sirn","Siren"),"Ring",TR("SciF","SciFi"),TR("Robt","Robot"),TR("Chrp","Chirp"),"Tada",TR("Crck","Crickt"),TR("Alrm","AlmClk")