changed pwncnc value to 6

This commit is contained in:
sanjayk03-dev
2024-04-06 11:09:29 +05:30
parent 344d69701a
commit aff1fb66e5
2 changed files with 1 additions and 4 deletions

View File

@@ -176,7 +176,7 @@ const vfd_reg_t pwncnc_regs[] PROGMEM = {
{REG_FREQ_READ, 0x9000, 0}, // Read frequency
{REG_FWD_WRITE, 0xa000, 1}, // Run forward
{REG_REV_WRITE, 0xa000, 2}, // Run reverse
{REG_STOP_WRITE, 0xa000, 5}, // Stop
{REG_STOP_WRITE, 0xa000, 6}, // Stop
{REG_DISCONNECT_WRITE, 0xa000, 5}, // Stop
{REG_STATUS_READ, 0xb000, 0}, // Read status
{REG_DISABLED},

View File

@@ -431,9 +431,6 @@ module.exports = new Vue({
this.display_units = this.config.settings["units"];
try {
await api.put("config/save", this.config);
if(selected_tool == "pwncnc-vfd" && saveModbus){
setTimeout(() => this.state['5vv'] = 6, 2000);
}
this.modified = false;
} catch (error) {
console.error("Save failed:", error);