|
@@ -861,13 +861,16 @@ void setup() {
|
861
|
861
|
// loads data from EEPROM if available else uses defaults (and resets step acceleration rate)
|
862
|
862
|
Config_RetrieveSettings();
|
863
|
863
|
|
864
|
|
- thermalManager.init(); // Initialize temperature loop
|
|
864
|
+ // Initialize current position based on home_offset
|
|
865
|
+ memcpy(current_position, home_offset, sizeof(home_offset));
|
865
|
866
|
|
866
|
867
|
#if ENABLED(DELTA) || ENABLED(SCARA)
|
867
|
868
|
// Vital to init kinematic equivalent for X0 Y0 Z0
|
868
|
869
|
sync_plan_position_delta();
|
869
|
870
|
#endif
|
870
|
871
|
|
|
872
|
+ thermalManager.init(); // Initialize temperature loop
|
|
873
|
+
|
871
|
874
|
#if ENABLED(USE_WATCHDOG)
|
872
|
875
|
watchdog_init();
|
873
|
876
|
#endif
|
|
@@ -918,8 +921,6 @@ void setup() {
|
918
|
921
|
lcd_init();
|
919
|
922
|
#endif
|
920
|
923
|
#endif
|
921
|
|
-
|
922
|
|
-
|
923
|
924
|
}
|
924
|
925
|
|
925
|
926
|
/**
|