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:
@@ -23,7 +23,12 @@
|
|||||||
|
|
||||||
#include "stamp.h"
|
#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)
|
#define DISPLAY_CHAR_WIDTH (LCD_COLS+4)
|
||||||
|
|
||||||
#if LCD_W >= 480
|
#if LCD_W >= 480
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ void bootloaderDrawScreen(BootloaderState st, int opt, const char* str)
|
|||||||
|
|
||||||
if (st == ST_START) {
|
if (st == ST_START) {
|
||||||
|
|
||||||
bootloaderDrawTitle(88, "OpenTX Bootloader");
|
bootloaderDrawTitle(88, BOOTLOADER_TITLE);
|
||||||
|
|
||||||
lcdDrawBitmapPattern(90, 72, LBM_FLASH, TEXT_COLOR);
|
lcdDrawBitmapPattern(90, 72, LBM_FLASH, TEXT_COLOR);
|
||||||
lcdDrawText(124, 75, "Write Firmware");
|
lcdDrawText(124, 75, "Write Firmware");
|
||||||
|
|||||||
Reference in New Issue
Block a user