From 607e737b32b9d4b69c7801513a8d60af02d960e3 Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Fri, 19 Aug 2016 11:23:20 +0200 Subject: [PATCH] [X7D] Compilation fix for multi, check for displaysize instead of board. --- radio/src/translations.cpp | 2 +- radio/src/translations.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/radio/src/translations.cpp b/radio/src/translations.cpp index 4e171c8a3..07b2e611b 100644 --- a/radio/src/translations.cpp +++ b/radio/src/translations.cpp @@ -464,7 +464,7 @@ const pm_char STR_MULTI_OPTION[] PROGMEM = TR_MULTI_OPTION; const pm_char STR_MULTI_AUTOBIND[] PROGMEM = TR_MULTI_AUTOBIND; const pm_char STR_MULTI_LOWPOWER[] PROGMEM = TR_MULTI_LOWPOWER; const pm_char STR_MULTI_DSMFRAME[] PROGMEM = TR_MULTI_DSMFRAME; -#if defined(PCBSKY9X) +#if LCD_W < 212 const pm_char STR_SUBTYPE[] PROGMEM = TR_SUBTYPE; #endif #endif diff --git a/radio/src/translations.h b/radio/src/translations.h index c01583f85..7e030b072 100644 --- a/radio/src/translations.h +++ b/radio/src/translations.h @@ -589,7 +589,7 @@ extern const pm_char STR_MULTI_RFTUNE[]; extern const pm_char STR_MULTI_AUTOBIND[]; extern const pm_char STR_MULTI_LOWPOWER[]; extern const pm_char STR_MULTI_DSMFRAME[]; -#if defined(PCBSKY9X) +#if LCD_W < 212 extern const pm_char STR_SUBTYPE[]; #endif #endif