splash screen
This commit is contained in:
parent
1357e27b55
commit
d18160cab5
1 changed files with 5 additions and 4 deletions
|
@ -1152,10 +1152,6 @@ void list_sec_lang_from_external_flash()
|
||||||
// are initialized by the main() routine provided by the Arduino framework.
|
// are initialized by the main() routine provided by the Arduino framework.
|
||||||
void setup()
|
void setup()
|
||||||
{
|
{
|
||||||
#ifdef W25X20CL
|
|
||||||
// Enter an STK500 compatible Optiboot boot loader waiting for flashing the languages to an external flash memory.
|
|
||||||
optiboot_w25x20cl_enter();
|
|
||||||
#endif
|
|
||||||
lcd_init();
|
lcd_init();
|
||||||
fdev_setup_stream(lcdout, lcd_putchar, NULL, _FDEV_SETUP_WRITE); //setup lcdout stream
|
fdev_setup_stream(lcdout, lcd_putchar, NULL, _FDEV_SETUP_WRITE); //setup lcdout stream
|
||||||
|
|
||||||
|
@ -1163,6 +1159,11 @@ void setup()
|
||||||
|
|
||||||
lcd_splash();
|
lcd_splash();
|
||||||
|
|
||||||
|
#ifdef W25X20CL
|
||||||
|
// Enter an STK500 compatible Optiboot boot loader waiting for flashing the languages to an external flash memory.
|
||||||
|
optiboot_w25x20cl_enter();
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (LANG_MODE != 0) //secondary language support
|
#if (LANG_MODE != 0) //secondary language support
|
||||||
#ifdef W25X20CL
|
#ifdef W25X20CL
|
||||||
if (w25x20cl_init())
|
if (w25x20cl_init())
|
||||||
|
|
Loading…
Reference in a new issue