Display version on Horus bootloader (like BW lcd) (#7158)

Display version on Horus bootloader (as done on B&W LCD)
This commit is contained in:
3djc
2019-12-06 16:35:00 +01:00
committed by Bertrand Songis
parent 75bd5fa3b1
commit 761ea5952b
2 changed files with 7 additions and 2 deletions
@@ -23,7 +23,12 @@
#include "stamp.h"
#define BOOTLOADER_TITLE " OTX Bootloader - " VERSION
#if LCD_W < 212
#define BOOTLOADER_TITLE " OTX Bootloader - " VERSION
#else
#define BOOTLOADER_TITLE " OpenTX Bootloader - " VERSION
#endif
#define DISPLAY_CHAR_WIDTH (LCD_COLS+4)
#if LCD_W >= 480
@@ -68,7 +68,7 @@ void bootloaderDrawScreen(BootloaderState st, int opt, const char* str)
if (st == ST_START) {
bootloaderDrawTitle(88, "OpenTX Bootloader");
bootloaderDrawTitle(88, BOOTLOADER_TITLE);
lcdDrawBitmapPattern(90, 72, LBM_FLASH, TEXT_COLOR);
lcdDrawText(124, 75, "Write Firmware");