Init XYZ to configured home position

This commit is contained in:
Scott Lahteine
2018-12-02 18:06:20 -06:00
parent 4fbbce9a35
commit a2e3226597
2 changed files with 3 additions and 5 deletions

View File

@ -921,9 +921,7 @@ void setup() {
#if HAS_M206_COMMAND
// Initialize current position based on home_offset
COPY(current_position, home_offset);
#else
ZERO(current_position);
LOOP_XYZ(a) current_position[a] += home_offset[a];
#endif
// Vital to init stepper/planner equivalent for current_position