From 95119235814fa408311e79d0e45ebfa2f093c7e3 Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Fri, 10 Feb 2017 22:16:45 +0100 Subject: [PATCH] RAM used for nothing on Taranis (change made originally for Horus) --- radio/src/opentx.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/radio/src/opentx.h b/radio/src/opentx.h index bc2828ec1..a9b97c73d 100644 --- a/radio/src/opentx.h +++ b/radio/src/opentx.h @@ -1368,7 +1368,11 @@ void opentxResume(); #endif // Re-useable byte array to save having multiple buffers -#define SD_SCREEN_FILE_LENGTH (64) +#if LCD_W <= 212 +#define SD_SCREEN_FILE_LENGTH 32 +#else +#define SD_SCREEN_FILE_LENGTH 64 +#endif union ReusableBuffer { // 275 bytes