Allow USB mode selection on USB connect (#5193)
Allow all USB modes to be compiled in at the same time
This commit is contained in:
committed by
Bertrand Songis
parent
2910488a30
commit
b7acee5723
@@ -92,6 +92,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\010")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "Amerika\0""Japonsko""Evropa\0 ")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "Vyp\0""PPM\0""XJT\0""DSM2""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -996,6 +999,7 @@
|
||||
#define TR_MENUSENSOR "SENZOR"
|
||||
#define TR_SENSOR "SENZOR"
|
||||
#define TR_COUNTRYCODE "Kód regionu"
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG "Jazyk hlasu"
|
||||
#define TR_UNITSSYSTEM "Jednotky"
|
||||
#define TR_EDIT "Upravit"
|
||||
@@ -1013,6 +1017,9 @@
|
||||
#define TR_RESET_TELEMETRY "Telemetrii"
|
||||
#define TR_STATISTICS "Statistika"
|
||||
#define TR_ABOUT_US "O nás"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Setup screens"
|
||||
#define TR_MONITOR_SCREENS "Monitory"
|
||||
#define TR_AND_SWITCH "AND Spínač"
|
||||
|
||||
@@ -98,6 +98,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\007")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "Amerika""Japan\0 ""Europa\0")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "AUS\0""PPM\0""XJT\0""DSM?""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -1018,6 +1021,7 @@
|
||||
#define TR_MENUSENSOR "SENSOR"
|
||||
#define TR_SENSOR "SENSOR"
|
||||
#define TR_COUNTRYCODE "Landescode"
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG "Sprach-Ansage"
|
||||
#define TR_UNITSSYSTEM "Einheiten"
|
||||
#define TR_EDIT "Zeile Editieren"
|
||||
@@ -1035,6 +1039,9 @@
|
||||
#define TR_RESET_TELEMETRY "Reset Telemetrie"
|
||||
#define TR_STATISTICS "Statistik Timer Gas"
|
||||
#define TR_ABOUT_US "Die Programmierer"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Setup Hautbildschirme"
|
||||
#define TR_MONITOR_SCREENS "Monitore Mischer Kanal Logik"
|
||||
#define TR_AND_SWITCH "UND Schalt" //UND mit weiterem Schaltern
|
||||
|
||||
@@ -98,6 +98,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\007")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "America""Japan\0 ""Europe\0")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "OFF\0""PPM\0""XJT\0""DSM2""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -1000,6 +1003,7 @@
|
||||
#define TR_MENUSENSOR "SENSOR"
|
||||
#define TR_SENSOR "SENSOR"
|
||||
#define TR_COUNTRYCODE "Country code"
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG "Voice language"
|
||||
#define TR_UNITSSYSTEM "Units"
|
||||
#define TR_EDIT "Edit"
|
||||
@@ -1017,6 +1021,9 @@
|
||||
#define TR_RESET_TELEMETRY "Reset telemetry"
|
||||
#define TR_STATISTICS "Statistics"
|
||||
#define TR_ABOUT_US "About"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Setup screens"
|
||||
#define TR_MONITOR_SCREENS "Monitors"
|
||||
#define TR_AND_SWITCH "AND switch"
|
||||
|
||||
@@ -94,6 +94,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\007")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "America""Japon\0 ""Europa\0")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "OFF\0""PPM\0""XJT\0""DSM2""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -976,6 +979,7 @@
|
||||
#define TR_MENUSENSOR "SENSOR"
|
||||
#define TR_SENSOR "SENSOR"
|
||||
#define TR_COUNTRYCODE "Codigo Pais"
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG "Idioma voces"
|
||||
#define TR_UNITSSYSTEM "Unidades"
|
||||
#define TR_EDIT "Editar"
|
||||
@@ -993,6 +997,9 @@
|
||||
#define TR_RESET_TELEMETRY "Reset Telemetria"
|
||||
#define TR_STATISTICS "Estadisticas"
|
||||
#define TR_ABOUT_US "Nosotros"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Setup screens"
|
||||
#define TR_MONITOR_SCREENS "Monitors"
|
||||
#define TR_AND_SWITCH "AND Inter."
|
||||
|
||||
@@ -94,6 +94,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\007")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "Amerikk""Japani\0""Euroopp")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "OFF\0""PPM\0""XJT\0""DSM2""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -972,6 +975,7 @@
|
||||
#define TR_MENUSENSOR "SENSOR"
|
||||
#define TR_SENSOR "SENSOR"
|
||||
#define TR_COUNTRYCODE "Country Code"
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG "Voice Language"
|
||||
#define TR_UNITSSYSTEM "Units"
|
||||
#define TR_EDIT "Edit"
|
||||
@@ -989,6 +993,9 @@
|
||||
#define TR_RESET_TELEMETRY "Reset Telemetry"
|
||||
#define TR_STATISTICS "Statistics"
|
||||
#define TR_ABOUT_US "About"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Setup screens"
|
||||
#define TR_MONITOR_SCREENS "Monitors"
|
||||
#define TR_AND_SWITCH "AND Switch"
|
||||
|
||||
@@ -94,6 +94,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\006")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "USA\0 ""Japon\0""Europe")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "OFF\0""PPM\0""XJT\0""DSM2""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -997,6 +1000,7 @@
|
||||
#define TR_MENUSENSOR "CAPTEUR"
|
||||
#define TR_SENSOR "SENSOR"
|
||||
#define TR_COUNTRYCODE TR("Zone géo.", "Zone géographique")
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG TR("Langue voix", "Langue annonces vocales")
|
||||
#define TR_UNITSSYSTEM "Unités"
|
||||
#define TR_EDIT "Editer"
|
||||
@@ -1014,6 +1018,9 @@
|
||||
#define TR_RESET_TELEMETRY TR("Réinit. Télém.", "Réinit. Télémesure")
|
||||
#define TR_STATISTICS "Statistiques"
|
||||
#define TR_ABOUT_US "A propos"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Configuration écrans"
|
||||
#define TR_MONITOR_SCREENS "Moniteurs"
|
||||
#define TR_AND_SWITCH "ET suppl."
|
||||
|
||||
@@ -94,6 +94,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\007")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "America""Japan\0 ""Europa\0")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "OFF\0""PPM\0""XJT\0""DSM2""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -1001,6 +1004,7 @@
|
||||
#define TR_MENUSENSOR "SENSOR"
|
||||
#define TR_SENSOR "SENSOR"
|
||||
#define TR_COUNTRYCODE TR("Codice Paese","Standard 2.4Ghz")
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG "Lingua Voce"
|
||||
#define TR_UNITSSYSTEM "Unità"
|
||||
#define TR_EDIT "Modifica"
|
||||
@@ -1018,6 +1022,9 @@
|
||||
#define TR_RESET_TELEMETRY "Azzera Telemetria"
|
||||
#define TR_STATISTICS "Statistiche"
|
||||
#define TR_ABOUT_US "Info su"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Setup screens"
|
||||
#define TR_MONITOR_SCREENS "Monitors"
|
||||
#define TR_AND_SWITCH "Inter. AND"
|
||||
|
||||
@@ -99,6 +99,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\007")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "Amerika""Japan\0 ""Europa\0")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "UIT\0""PPM\0""XJT\0""DSM2""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -996,6 +999,7 @@
|
||||
#define TR_MENUSENSOR "SENSOR"
|
||||
#define TR_SENSOR "SENSOR"
|
||||
#define TR_COUNTRYCODE "Landcode"
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG "Taal"
|
||||
#define TR_UNITSSYSTEM "Eenheden"
|
||||
#define TR_EDIT "Wijzigen"
|
||||
@@ -1013,6 +1017,9 @@
|
||||
#define TR_RESET_TELEMETRY "Reset Telemetrie"
|
||||
#define TR_STATISTICS "Statistieken"
|
||||
#define TR_ABOUT_US "De Programmeurs"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Setup screens"
|
||||
#define TR_MONITOR_SCREENS "Monitors"
|
||||
#define TR_AND_SWITCH "AND Switch"
|
||||
|
||||
@@ -95,6 +95,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\007")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "Ameryka""Japonia""Europa\0")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "OFF\0""PPM\0""XJT\0""DSM2""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -1004,6 +1007,7 @@
|
||||
#define TR_MENUSENSOR "CZUJNIK"
|
||||
#define TR_SENSOR "SENSOR"
|
||||
#define TR_COUNTRYCODE "Kod regionu"
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG "Język głosu"
|
||||
#define TR_UNITSSYSTEM "Jednostki"
|
||||
#define TR_EDIT "Edytuj"
|
||||
@@ -1021,6 +1025,9 @@
|
||||
#define TR_RESET_TELEMETRY "Wyczyść telemetrię"
|
||||
#define TR_STATISTICS "Statystyki"
|
||||
#define TR_ABOUT_US "O nas"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Setup screens"
|
||||
#define TR_MONITOR_SCREENS "Monitors"
|
||||
#define TR_AND_SWITCH "Przełącznik AND"
|
||||
|
||||
@@ -94,6 +94,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\007")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "America""Japan\0 ""Europe\0")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "OFF\0""PPM\0""XJT\0""DSM2""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -977,6 +980,7 @@
|
||||
#define TR_MENUSENSOR "SENSOR"
|
||||
#define TR_SENSOR "SENSOR"
|
||||
#define TR_COUNTRYCODE "Country Code"
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG "Voice Language"
|
||||
#define TR_UNITSSYSTEM "Units"
|
||||
#define TR_EDIT "Edit"
|
||||
@@ -994,6 +998,9 @@
|
||||
#define TR_RESET_TELEMETRY "Reset Telemetry"
|
||||
#define TR_STATISTICS "Statistics"
|
||||
#define TR_ABOUT_US "About Us"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Setup screens"
|
||||
#define TR_MONITOR_SCREENS "Monitors"
|
||||
#define TR_AND_SWITCH "AND Switch"
|
||||
|
||||
@@ -94,6 +94,9 @@
|
||||
#define LEN_COUNTRYCODES TR("\002", "\007")
|
||||
#define TR_COUNTRYCODES TR("US""JP""EU", "Amerika""Japan\0 ""Europa\0")
|
||||
|
||||
#define LEN_USBMODES TR("\006", "\010")
|
||||
#define TR_USBMODES TR("Ask\0 ""Joyst\0""SDCard""Debug\0", "Ask\0 ""Joystick""Storage\0""Debug\0 ")
|
||||
|
||||
#define LEN_TARANIS_PROTOCOLS "\004"
|
||||
#define TR_TARANIS_PROTOCOLS "Av\0 ""PPM\0""XJT\0""DSM2""CRSF""MULT""R9M\0"
|
||||
|
||||
@@ -1015,6 +1018,7 @@
|
||||
#define TR_MENUSENSOR "SENSOR"
|
||||
#define TR_SENSOR "SENSOR"
|
||||
#define TR_COUNTRYCODE "Landskod"
|
||||
#define TR_USBMODE "USB Mode"
|
||||
#define TR_VOICELANG "Röstspråk"
|
||||
#define TR_UNITSSYSTEM "Enheter"
|
||||
#define TR_EDIT "Redigera"
|
||||
@@ -1032,6 +1036,9 @@
|
||||
#define TR_RESET_TELEMETRY "Nollställ Telemetri"
|
||||
#define TR_STATISTICS "Statistik"
|
||||
#define TR_ABOUT_US "Om Oss"
|
||||
#define TR_USB_JOYSTICK "USB Joystick (HID)"
|
||||
#define TR_USB_MASS_STORAGE "USB mass storage"
|
||||
#define TR_USB_SERIAL "USB Serial (Debug)"
|
||||
#define TR_SETUP_SCREENS "Setup screens"
|
||||
#define TR_MONITOR_SCREENS "Monitors"
|
||||
#define TR_AND_SWITCH "OCH Brytare"
|
||||
|
||||
Reference in New Issue
Block a user