Browse Source

Merge pull request #2183 from AnHardt/displayinit

Initialize the display earlier
Scott Lahteine 10 years ago
parent
commit
c5c9d12630
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/Marlin_main.cpp

+ 3
- 3
Marlin/Marlin_main.cpp View File

@@ -641,6 +641,9 @@ void setup() {
641 641
   // loads data from EEPROM if available else uses defaults (and resets step acceleration rate)
642 642
   Config_RetrieveSettings();
643 643
 
644
+  lcd_init();
645
+  _delay_ms(1000);  // wait 1sec to display the splash screen
646
+
644 647
   tp_init();    // Initialize temperature loop
645 648
   plan_init();  // Initialize planner;
646 649
   watchdog_init();
@@ -648,9 +651,6 @@ void setup() {
648 651
   setup_photpin();
649 652
   servo_init();
650 653
 
651
-  lcd_init();
652
-  _delay_ms(1000);  // wait 1sec to display the splash screen
653
-
654 654
   #if HAS_CONTROLLERFAN
655 655
     SET_OUTPUT(CONTROLLERFAN_PIN); //Set pin used for driver cooling fan
656 656
   #endif

Loading…
Cancel
Save