From 0fd23d3e61f472c33134817f5feb8b3bc7ac40d8 Mon Sep 17 00:00:00 2001 From: 3djc Date: Mon, 26 Jun 2017 18:05:53 +0200 Subject: [PATCH] Fix COLORLCD compile for PT (#5063) --- radio/src/translations/pt.h.txt | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/radio/src/translations/pt.h.txt b/radio/src/translations/pt.h.txt index 27dd9d326..6246e0d30 100644 --- a/radio/src/translations/pt.h.txt +++ b/radio/src/translations/pt.h.txt @@ -578,9 +578,17 @@ #define TR_VANTENNATYPES "Internal""Ext+Int\0" // ZERO TERMINATED STRINGS -#define INDENT "\001" -#define LEN_INDENT 1 -#define INDENT_WIDTH (FW/2) +#if defined(COLORLCD) + #define INDENT " " + #define LEN_INDENT 3 + #define INDENT_WIDTH 12 + #define BREAKSPACE "\036" +#else + #define INDENT "\001" + #define LEN_INDENT 1 + #define INDENT_WIDTH (FW/2) + #define BREAKSPACE " " +#endif #if defined(PCBTARANIS) #define TR_ENTER "[ENTER]"