Initialize the display earlier
to have it ready to display errors during (temperature)-setup.
This commit is contained in:
parent
76b4678f99
commit
f0523b5816
@ -641,6 +641,9 @@ void setup() {
|
||||
// loads data from EEPROM if available else uses defaults (and resets step acceleration rate)
|
||||
Config_RetrieveSettings();
|
||||
|
||||
lcd_init();
|
||||
_delay_ms(1000); // wait 1sec to display the splash screen
|
||||
|
||||
tp_init(); // Initialize temperature loop
|
||||
plan_init(); // Initialize planner;
|
||||
watchdog_init();
|
||||
@ -648,9 +651,6 @@ void setup() {
|
||||
setup_photpin();
|
||||
servo_init();
|
||||
|
||||
lcd_init();
|
||||
_delay_ms(1000); // wait 1sec to display the splash screen
|
||||
|
||||
#if HAS_CONTROLLERFAN
|
||||
SET_OUTPUT(CONTROLLERFAN_PIN); //Set pin used for driver cooling fan
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user