I added a custom boot screen to marlin by adding
_Bootscreen.h to the project root folder and it works fine. The problem is that the custom screen shows quickly and disappear then the marlin boot screen is then displayed for a longer time. I want to remove the marlin boot screen.
I dug around in the source code and found a
void lcd_bootscreen function in the
ultralcd_impl_HD44780.h header. This seems to be the function that is loading the marlin's boot screen due to the comments in the code. I added
return; to the first line of code in this function but the marlin's boot screen is still loading.
How can I remove the marlin boot screen. How can make my custom boot screen wait for more time?
The marlin version is 1.1.8.
So after some search:
You can't (at least should not) remove the marlin bootscreen according to this issue SHOW_CUSTOM_BOOTSCREEN hides Marlin logo, quote:
We wanted an additional logo - not a replacement of the Marlin logo.
According to the code here there's a constant CUSTOM_BOOTSCREEN_TIMEOUT taking the default value of 2500 which is 2.5 seconds but you can redefine it in your _Boostrap.h file.
This constant is only available for DOGM lcd screens which is chosen by the code here in ultralcd.cpp and whitout more details on your machine it's hard to tell from Conditionals_LCD.h which will be used.