Merge pull request #2183 from AnHardt/displayinit

Initialize the display earlier
This commit is contained in:
Scott Lahteine 2015-05-28 16:29:18 -07:00
commit c5c9d12630

View file

@ -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