Browse Source

Initialize the display earlier

to have it ready to display errors during (temperature)-setup.
pull/1/head
AnHardt 9 years ago
parent
commit
f0523b5816
  1. 6
      Marlin/Marlin_main.cpp

6
Marlin/Marlin_main.cpp

@ -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…
Cancel
Save