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