AnHardt / Marlin

Reprap FW with look ahead. SDcard and LCD support. It works on Gen6, Ultimaker, RAMPS and Sanguinololu
GNU General Public License v3.0
1 stars 1 forks source link

[1.1] Some cleanup around 'lcd_bootscreen()' and 'lcd_kill_screen()' #79

Closed AnHardt closed 6 years ago

AnHardt commented 6 years ago

Move 'lcd_bootscreen()' from lcd_init() to 'setup()' where it is cexecute exactly once. Saves 'bool show_bootscreen'. Move the call of 'lcd_custom_bootscreen()' to the begin of 'lcd_bootscreen()'. Move the delays into the related functions. Move the picture loop around 'lcd_kill_screen()' into the function. Stop a 'unused' warning.