patching _
This commit is contained in:
@@ -159,7 +159,7 @@ module.exports = {
|
||||
this.config.tool = merge({}, this.config.tool, settings["tool"]);
|
||||
this.config["pwm-spindle"] = merge({}, this.config["pwm-spindle"], settings["pwm-spindle"]);
|
||||
this.config["modbus-spindle"] = merge({}, this.config["modbus-spindle"], settings["modbus-spindle"]);
|
||||
if (this.selected_tool == "pwncnc-vfd" && _.isEmpty(settings)) {
|
||||
if (this.selected_tool == "pwncnc-vfd" && Object.keys(settings).length == 0) {
|
||||
this.config["modbus-spindle"]["regs"][5] = {
|
||||
"reg-value": 6,
|
||||
"reg-type": "stop-write",
|
||||
|
||||
Reference in New Issue
Block a user