From 459ab91f09a75d26156a5fbb3004d21ddd7c3576 Mon Sep 17 00:00:00 2001 From: 3djc Date: Mon, 1 Aug 2016 21:17:29 +0200 Subject: [PATCH] Fix compilation warning on Horus. (#3677) * Fix compilation warning on Horus. The // where added Jan25 as part of https://github.com/opentx/opentx/commit/5c71d74aabcafc0c8874de5970ae5c654ba5d9c1#diff-e7a8e42860fdbdf14bb250f27536fde6 * Better fix ? --- radio/src/gui/480x272/view_text.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/radio/src/gui/480x272/view_text.cpp b/radio/src/gui/480x272/view_text.cpp index 679e19295..cbc2c6ef3 100644 --- a/radio/src/gui/480x272/view_text.cpp +++ b/radio/src/gui/480x272/view_text.cpp @@ -125,11 +125,13 @@ bool menuTextView(evt_t event) lcdDrawText(MENUS_MARGIN_LEFT, MENU_CONTENT_TOP + i*FH, s_text_screen[i]); } +#if 0 char * title = s_text_file; #if defined(SIMU) if (!strncmp(title, "./", 2)) title += 2; #endif -// lcd_putsCenter(MENU_FOOTER_TOP, title, HEADER_COLOR); + lcd_putsCenter(MENU_FOOTER_TOP, title, HEADER_COLOR); +#endif drawVerticalScrollbar(LCD_W-5, 50, 195, menuVerticalOffset, lines_count, NUM_BODY_LINES);