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:
commit
d70a147af5
|
|
@ -11593,8 +11593,6 @@ if(!(bEnableForce_z||eeprom_read_byte((uint8_t*)EEPROM_SILENT)))
|
||||||
|
|
||||||
void disable_force_z()
|
void disable_force_z()
|
||||||
{
|
{
|
||||||
uint16_t z_microsteps=0;
|
|
||||||
|
|
||||||
if(!bEnableForce_z) return; // motor already disabled (may be ;-p )
|
if(!bEnableForce_z) return; // motor already disabled (may be ;-p )
|
||||||
|
|
||||||
bEnableForce_z=false;
|
bEnableForce_z=false;
|
||||||
|
|
@ -11605,8 +11603,6 @@ void disable_force_z()
|
||||||
update_mode_profile();
|
update_mode_profile();
|
||||||
tmc2130_init(true);
|
tmc2130_init(true);
|
||||||
#endif // TMC2130
|
#endif // TMC2130
|
||||||
|
|
||||||
axis_known_position[Z_AXIS]=false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue