Browse Source

Merge pull request #2436 from leptun/MK3_PSU_DELTA_cleanup

Do not clear axis known position when Z is set to silent
DRracer 4 years ago
parent
commit
d70a147af5
1 changed files with 0 additions and 4 deletions
  1. 0 4
      Firmware/Marlin_main.cpp

+ 0 - 4
Firmware/Marlin_main.cpp

@@ -11593,8 +11593,6 @@ if(!(bEnableForce_z||eeprom_read_byte((uint8_t*)EEPROM_SILENT)))
 
 void disable_force_z()
 {
-    uint16_t z_microsteps=0;
-
     if(!bEnableForce_z) return;   // motor already disabled (may be ;-p )
 
     bEnableForce_z=false;
@@ -11605,8 +11603,6 @@ void disable_force_z()
     update_mode_profile();
     tmc2130_init(true);
 #endif // TMC2130
-
-    axis_known_position[Z_AXIS]=false;
 }