From b5f6bbb2c36a98a7c736194e25d8a6b73feb90a0 Mon Sep 17 00:00:00 2001 From: Alex Voinea Date: Fri, 15 Apr 2022 12:37:51 +0200 Subject: [PATCH] XFlash upload message --- Firmware/optiboot_xflash.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Firmware/optiboot_xflash.cpp b/Firmware/optiboot_xflash.cpp index 9e1cfc7b..0956baea 100644 --- a/Firmware/optiboot_xflash.cpp +++ b/Firmware/optiboot_xflash.cpp @@ -8,6 +8,7 @@ #include "stk500.h" #include "bootapp.h" #include +#include "lcd.h" #define OPTIBOOT_MAJVER 6 #define OPTIBOOT_CUSTOMVER 0 @@ -159,6 +160,9 @@ uint8_t optiboot_xflash_enter() xflash_init(); wdt_disable(); + lcd_clear(); + lcd_puts_at_P(0, 1, PSTR(" Upgrading xflash\n Do not disconnect!")); + /* Forever loop: exits by causing WDT reset */ for (;;) { /* get character from UART */