Browse Source

Fix 'sync_plan_position' call (#19016)

swissnorp 3 years ago
parent
commit
3ddb720722
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/stepper/indirection.h

+ 1
- 1
Marlin/src/module/stepper/indirection.h View File

@@ -850,7 +850,7 @@ void reset_stepper_drivers();    // Called by settings.load / settings.reset
850 850
 #define  ENABLE_AXIS_Z() do{ ENABLE_STEPPER_Z();  ENABLE_STEPPER_Z2();  ENABLE_STEPPER_Z3();  ENABLE_STEPPER_Z4(); }while(0)
851 851
 
852 852
 #ifdef Z_AFTER_DEACTIVATE
853
-  #define Z_RESET() do{ current_position.z = Z_AFTER_DEACTIVATE; planner.sync_plan_position(); }while(0)
853
+  #define Z_RESET() do{ current_position.z = Z_AFTER_DEACTIVATE; sync_plan_position(); }while(0)
854 854
 #else
855 855
   #define Z_RESET()
856 856
 #endif

Loading…
Cancel
Save