Skip to content

Commit 453e2f1

Browse files
authored
Merge pull request prusa3d#3474 from leptun/MK3_xflash_upload_screen
XFlash upload message
2 parents 9bb8797 + b5f6bbb commit 453e2f1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Firmware/optiboot_xflash.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include "stk500.h"
99
#include "bootapp.h"
1010
#include <avr/wdt.h>
11+
#include "lcd.h"
1112

1213
#define OPTIBOOT_MAJVER 6
1314
#define OPTIBOOT_CUSTOMVER 0
@@ -159,6 +160,9 @@ uint8_t optiboot_xflash_enter()
159160
xflash_init();
160161
wdt_disable();
161162

163+
lcd_clear();
164+
lcd_puts_at_P(0, 1, PSTR(" Upgrading xflash\n Do not disconnect!"));
165+
162166
/* Forever loop: exits by causing WDT reset */
163167
for (;;) {
164168
/* get character from UART */

0 commit comments

Comments
 (0)