From 0d0446edbbfeda04cd031bd66ff7bc8cddd9d4a5 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Wed, 10 Jul 2019 01:02:44 +0200 Subject: [PATCH] Dead code removed --- radio/src/translations.cpp | 4 ---- radio/src/translations.h | 5 ----- radio/src/translations/cz.h.txt | 7 ------- radio/src/translations/de.h.txt | 3 --- radio/src/translations/en.h.txt | 7 ------- radio/src/translations/es.h.txt | 3 --- radio/src/translations/fi.h.txt | 3 --- radio/src/translations/fr.h.txt | 3 --- radio/src/translations/it.h.txt | 3 --- radio/src/translations/nl.h.txt | 3 --- radio/src/translations/pl.h.txt | 3 --- radio/src/translations/pt.h.txt | 3 --- radio/src/translations/se.h.txt | 3 --- 13 files changed, 50 deletions(-) diff --git a/radio/src/translations.cpp b/radio/src/translations.cpp index 63be0e05c..576dd101e 100644 --- a/radio/src/translations.cpp +++ b/radio/src/translations.cpp @@ -89,10 +89,6 @@ ISTR(VANTENNATYPES); ISTR(VBEEPLEN); #endif -#if defined(ROTARY_ENCODER_NAVIGATION) -ISTR(VRENCODERS); -#endif - #if defined(PCBTARANIS) || defined(PCBHORUS) ISTR(AUX_SERIAL_MODES); ISTR(SWTYPES); diff --git a/radio/src/translations.h b/radio/src/translations.h index d4b7af0cd..0ef7e9758 100644 --- a/radio/src/translations.h +++ b/radio/src/translations.h @@ -135,11 +135,6 @@ extern const char STR_INPUTNAMES[]; #endif extern const char STR_VTMRMODES[]; - -#if defined(ROTARY_ENCODER_NAVIGATION) -extern const char STR_VRENCODERS[]; -#endif - extern const char STR_VPERSISTENT[]; extern const char STR_VLCD[]; diff --git a/radio/src/translations/cz.h.txt b/radio/src/translations/cz.h.txt index 29f9bbbef..f6bb11689 100644 --- a/radio/src/translations/cz.h.txt +++ b/radio/src/translations/cz.h.txt @@ -362,13 +362,6 @@ #define TR_VKEYS "Menu\0""Exit\0""Dolů\0""Nhoru""Vprvo""Vlevo" #endif -#define LEN_VRENCODERS "\003" -#if defined(ROTARY_ENCODERS) - #define TR_VRENCODERS "REa""REb" -#else - #define TR_VRENCODERS "RE\0" -#endif - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004" diff --git a/radio/src/translations/de.h.txt b/radio/src/translations/de.h.txt index f14163b37..7c236fd7e 100644 --- a/radio/src/translations/de.h.txt +++ b/radio/src/translations/de.h.txt @@ -382,9 +382,6 @@ #define TR_VKEYS "Menu\0""Exit\0""Down\0""Up\0 ""Right""Left\0" #endif -#define LEN_VRENCODERS "\003" -#define TR_VRENCODERS "DGa""DGb" - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004" diff --git a/radio/src/translations/en.h.txt b/radio/src/translations/en.h.txt index 13e30c262..69663702b 100644 --- a/radio/src/translations/en.h.txt +++ b/radio/src/translations/en.h.txt @@ -368,13 +368,6 @@ #define TR_VKEYS "Menu\0""Exit\0""Down\0""Up\0 ""Right""Left\0" #endif -#define LEN_VRENCODERS "\003" -#if defined(ROTARY_ENCODERS) -#define TR_VRENCODERS "REa""REb" -#else -#define TR_VRENCODERS "RE\0" -#endif - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004" diff --git a/radio/src/translations/es.h.txt b/radio/src/translations/es.h.txt index 89bd6738b..aae3c7d5f 100644 --- a/radio/src/translations/es.h.txt +++ b/radio/src/translations/es.h.txt @@ -383,9 +383,6 @@ #define TR_VKEYS "Menu\0""Exit\0""Down\0""Up\0 ""Right""Left\0" #endif -#define LEN_VRENCODERS "\003" -#define TR_VRENCODERS "REa""REb" - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004" diff --git a/radio/src/translations/fi.h.txt b/radio/src/translations/fi.h.txt index c3e7fb08b..fbed2a6d8 100644 --- a/radio/src/translations/fi.h.txt +++ b/radio/src/translations/fi.h.txt @@ -383,9 +383,6 @@ #define TR_VKEYS "Menu\0""Exit\0""Down\0""Up\0 ""Right""Left\0" #endif -#define LEN_VRENCODERS "\003" -#define TR_VRENCODERS "REa""REb" - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004" diff --git a/radio/src/translations/fr.h.txt b/radio/src/translations/fr.h.txt index b0462f680..30f6ebbe0 100644 --- a/radio/src/translations/fr.h.txt +++ b/radio/src/translations/fr.h.txt @@ -385,9 +385,6 @@ #define TR_VKEYS "Menu\0""Exit\0""Bas\0 ""Haut\0""Droit""Gauch" #endif -#define LEN_VRENCODERS "\003" -#define TR_VRENCODERS "REa""REb" - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004" diff --git a/radio/src/translations/it.h.txt b/radio/src/translations/it.h.txt index 1b8db9efc..52b0ce3d1 100644 --- a/radio/src/translations/it.h.txt +++ b/radio/src/translations/it.h.txt @@ -385,9 +385,6 @@ #define TR_VKEYS "Menu\0""Exit\0""Down\0""Up\0 ""Right""Left\0" #endif -#define LEN_VRENCODERS "\003" -#define TR_VRENCODERS "REa""REb" - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004" diff --git a/radio/src/translations/nl.h.txt b/radio/src/translations/nl.h.txt index b792c2525..138d9471f 100644 --- a/radio/src/translations/nl.h.txt +++ b/radio/src/translations/nl.h.txt @@ -367,9 +367,6 @@ #define TR_VKEYS "Menu\0""Exit\0""Down\0""Up\0 ""Right""Left\0" #endif -#define LEN_VRENCODERS "\003" -#define TR_VRENCODERS "REa""REb" - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004" diff --git a/radio/src/translations/pl.h.txt b/radio/src/translations/pl.h.txt index 63f1eb979..9d94cb53f 100644 --- a/radio/src/translations/pl.h.txt +++ b/radio/src/translations/pl.h.txt @@ -386,9 +386,6 @@ #define TR_VKEYS "Menu\0""Exit\0""Down\0""Up\0 ""Right""Left\0" #endif -#define LEN_VRENCODERS "\003" -#define TR_VRENCODERS "REa""REb" - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004" diff --git a/radio/src/translations/pt.h.txt b/radio/src/translations/pt.h.txt index 70a15b15d..3ec15cc2d 100644 --- a/radio/src/translations/pt.h.txt +++ b/radio/src/translations/pt.h.txt @@ -368,9 +368,6 @@ #define LEN_VKEYS "\005" #define TR_VKEYS TR("Menu\0""Sair\0""Desce""Sobe\0""Direi""Esqda", "Menu\0""Exit\0""Enter""Page\0""Plus\0""Minus") -#define LEN_VRENCODERS "\003" -#define TR_VRENCODERS "REa""REb" - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004" diff --git a/radio/src/translations/se.h.txt b/radio/src/translations/se.h.txt index 2a5b29d3f..f413000e8 100644 --- a/radio/src/translations/se.h.txt +++ b/radio/src/translations/se.h.txt @@ -380,9 +380,6 @@ #define TR_VKEYS "Menu\0""Exit\0""Ned\0 ""Upp\0 ""Höger""Vänst" #endif -#define LEN_VRENCODERS "\003" -#define TR_VRENCODERS "REa""REb" - #define LEN_VSWITCHES "\003" #define LEN_VSRCRAW "\004"