From bcdafb1b42eee9142dc8a9f684de196874b8f063 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Mon, 24 May 2021 10:48:43 +0200 Subject: [PATCH] Fix b/w compilation targets --- radio/src/opentx.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/radio/src/opentx.h b/radio/src/opentx.h index 18c2c7bcb..44880f5bb 100644 --- a/radio/src/opentx.h +++ b/radio/src/opentx.h @@ -1020,7 +1020,10 @@ union ReusableBuffer #if defined(EEPROM_RLC) && LCD_W < 212 uint16_t eepromfree; #endif -#if !defined(SDCARD) +#if defined(SDCARD) && !defined(COLORLCD) + char menu_bss[POPUP_MENU_MAX_LINES][MENU_LINE_LENGTH]; + char mainname[45]; // because reused for SD backup / restore, max backup filename 44 chars: "/MODELS/MODEL0134353-2014-06-19-04-51-27.bin" +#elif !defined(COLORLCD) char mainname[LEN_MODEL_NAME]; #endif } modelsel;