소스 검색

Merge pull request #2436 from leptun/MK3_PSU_DELTA_cleanup

Do not clear axis known position when Z is set to silent
DRracer 4 년 전
부모
커밋
d70a147af5
1개의 변경된 파일0개의 추가작업 그리고 4개의 파일을 삭제
  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;
 }