preventing a from homing

This commit is contained in:
sanjayk03-dev
2024-12-12 01:21:10 +05:30
parent 0787574db9
commit e6c9d1c46f
3 changed files with 4 additions and 2 deletions

View File

@@ -749,6 +749,7 @@ module.exports = {
if (typeof axis == "undefined") {
api.put("home");
} else if (this[axis].homingMode != "manual") {
if(this.state["2an"] == 3 && axis == "a") return;
api.put(`home/${axis}`);
} else {
SvelteComponents.showDialog("ManualHomeAxis", { axis });