Merge pull request #6642 from opentx/raphaelcoeffic/fix-warnings

fix clang warnings (unused variables)
This commit is contained in:
Bertrand Songis
2019-08-20 13:32:30 +02:00
committed by GitHub
14 changed files with 42 additions and 423 deletions
+2 -35
View File
@@ -49,15 +49,9 @@
#define LEN_MMMINV "\003"
#define TR_MMMINV "---""INV"
#define LEN_NCHANNELS "\004"
#define TR_NCHANNELS "\0014CH\0016CH\0018CH10CH12CH14CH16CH"
#define LEN_VBEEPMODE "\005"
#define TR_VBEEPMODE "Stumm""Alarm""NoKey""Alle\0"
#define LEN_VBEEPLEN "\005"
#define TR_VBEEPLEN "0====""=0===""==0==""===0=""====0"
#define LEN_VRENAVIG "\003"
#define TR_VRENAVIG "AUSDGaDGb"
@@ -86,9 +80,6 @@
#define LEN_SLIDERTYPES "\006"
#define TR_SLIDERTYPES "Keine\0""Slider"
#define LEN_DATETIME "\005"
#define TR_DATETIME "DATE:""ZEIT:"
#define LEN_VLCD "\006"
#define TR_VLCD "NormalOptrex"
@@ -156,9 +147,6 @@
#define TR_VPROTOS "PPM\0 " TR_DSM2
#define LEN_POSNEG "\003"
#define TR_POSNEG "POS""NEG"
#if defined(PCBSKY9X) && defined(REVX)
#define LEN_VOUTPUT_TYPE "\011"
#define TR_VOUTPUT_TYPE "OpenDrain""PushPull\0"
@@ -322,29 +310,8 @@
#define STR_V (STR_VTELEMUNIT+1)
#define STR_A (STR_VTELEMUNIT+4)
#define LEN_VALARM "\003"
#define TR_VALARM "---""Glb""Org""Rot"
#define LEN_VALARMFN "\001"
#define TR_VALARMFN "<>"
#define LEN_VTELPROTO "\007"
#define TR_VTELPROTO "Kein\0 ""Hub\0 ""WSHHigh"
#define LEN_AMPSRC TR("\003", "\005")
#define TR_AMPSRC TR("---""A1\0""A2\0""A3\0""A4\0""FAS""Cel", "---\0 ""A1\0 ""A2\0 ""A3\0 ""A4\0 ""FAS\0 ""Cells")
#define LEN_VOLTSRC TR("\003", "\005")
#define TR_VOLTSRC TR("A1\0""A2\0""A3\0""A4\0""FAS""Cel", "A1\0 ""A2\0 ""A3\0 ""A4\0 ""FAS\0 ""Cells")
#define LEN_VARIOSRC "\004"
#if defined(TELEMETRY_FRSKY_SPORT)
#define TR_VARIOSRC "Vspd""A1\0 ""A2\0 ""dTE\0"
#else
#define TR_VARIOSRC "Alt\0""Alt+""Vspd""A1\0 ""A2\0 "
#endif
#define LEN_VTELEMSCREENTYPE "\007"
#define TR_VTELEMSCREENTYPE " None "" Werte "" Balken"" Script"
#define LEN_VTELEMSCREENTYPE "\007"
#define TR_VTELEMSCREENTYPE " None "" Werte "" Balken"" Script"
#define LEN_GPSFORMAT "\004"
#define TR_GPSFORMAT "GMS\0""NMEA" //Koordinatenanzeige