Merge pull request #2436 from leptun/MK3_PSU_DELTA_cleanup

Do not clear axis known position when Z is set to silent
This commit is contained in:
DRracer 2020-01-31 09:08:14 +01:00 committed by GitHub
commit d70a147af5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -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;
}