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
 #define  ENABLE_AXIS_Z() do{ ENABLE_STEPPER_Z();  ENABLE_STEPPER_Z2();  ENABLE_STEPPER_Z3();  ENABLE_STEPPER_Z4(); }while(0)
850
 #define  ENABLE_AXIS_Z() do{ ENABLE_STEPPER_Z();  ENABLE_STEPPER_Z2();  ENABLE_STEPPER_Z3();  ENABLE_STEPPER_Z4(); }while(0)
851
 
851
 
852
 #ifdef Z_AFTER_DEACTIVATE
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
 #else
854
 #else
855
   #define Z_RESET()
855
   #define Z_RESET()
856
 #endif
856
 #endif

Loading…
Cancel
Save