disconnect-write to 6
This commit is contained in:
@@ -427,9 +427,14 @@ module.exports = new Vue({
|
|||||||
"reg-type": "stop-write",
|
"reg-type": "stop-write",
|
||||||
"reg-addr": 40960,
|
"reg-addr": 40960,
|
||||||
};
|
};
|
||||||
|
this.config["selected-tool-settings"][selected_tool]["modbus-spindle"]["regs"][6] = {
|
||||||
|
"reg-value": 6,
|
||||||
|
"reg-type": "disconnect-write",
|
||||||
|
"reg-addr": 40960,
|
||||||
|
};
|
||||||
}
|
}
|
||||||
this.display_units = this.config.settings["units"];
|
this.display_units = this.config.settings["units"];
|
||||||
this.state['5vv'] = 6
|
// this.state['5vv'] = 6
|
||||||
try {
|
try {
|
||||||
await api.put("config/save", this.config);
|
await api.put("config/save", this.config);
|
||||||
this.modified = false;
|
this.modified = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user