Bootloader cosmetics again
This commit is contained in:
@@ -25,10 +25,9 @@ void bootloaderDrawScreen(BootloaderState st, int opt, const char *str)
|
|||||||
lcdInvertLine(0);
|
lcdInvertLine(0);
|
||||||
|
|
||||||
if (st == ST_START) {
|
if (st == ST_START) {
|
||||||
lcdDrawTextAlignedLeft(2*FH, "\010Write Firmware");
|
lcdDrawText(3*FW, 2*FH, "Write Firmware", opt == 0 ? INVERS : 0);
|
||||||
lcdDrawTextAlignedLeft(3*FH, "\010Restore EEPROM");
|
lcdDrawText(3*FW, 3*FH, "Restore EEPROM", opt == 1 ? INVERS : 0);
|
||||||
lcdDrawTextAlignedLeft(4*FH, "\010Exit");
|
lcdDrawText(3*FW, 4*FH, "Exit", opt == 2 ? INVERS : 0);
|
||||||
lcdInvertLine(2 + opt);
|
|
||||||
|
|
||||||
lcdDrawText(LCD_W / 2, 5 * FH + FH / 2, STR_OR_PLUGIN_USB_CABLE, CENTERED);
|
lcdDrawText(LCD_W / 2, 5 * FH + FH / 2, STR_OR_PLUGIN_USB_CABLE, CENTERED);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user