tool-view to app.js

This commit is contained in:
sanjayk03-dev
2024-02-26 19:54:14 +05:30
parent 6c65d34b28
commit 096b87ebad
2 changed files with 8 additions and 7 deletions

View File

@@ -420,6 +420,14 @@ module.exports = new Vue({
};
delete settings.tool["tool-type"];
if (selected_tool == "pwncnc-vfd" && saveModbus) {
settings["modbus-spindle"]["regs"][5] = {
"reg-value": 6,
"reg-type": "stop-write",
"reg-addr": 40960,
};
}
this.config["selected-tool-settings"][selected_tool] = settings;
this.display_units = this.config.settings["units"];