changed pwncnc value to 6
This commit is contained in:
@@ -176,7 +176,7 @@ const vfd_reg_t pwncnc_regs[] PROGMEM = {
|
|||||||
{REG_FREQ_READ, 0x9000, 0}, // Read frequency
|
{REG_FREQ_READ, 0x9000, 0}, // Read frequency
|
||||||
{REG_FWD_WRITE, 0xa000, 1}, // Run forward
|
{REG_FWD_WRITE, 0xa000, 1}, // Run forward
|
||||||
{REG_REV_WRITE, 0xa000, 2}, // Run reverse
|
{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_DISCONNECT_WRITE, 0xa000, 5}, // Stop
|
||||||
{REG_STATUS_READ, 0xb000, 0}, // Read status
|
{REG_STATUS_READ, 0xb000, 0}, // Read status
|
||||||
{REG_DISABLED},
|
{REG_DISABLED},
|
||||||
|
|||||||
@@ -431,9 +431,6 @@ module.exports = new Vue({
|
|||||||
this.display_units = this.config.settings["units"];
|
this.display_units = this.config.settings["units"];
|
||||||
try {
|
try {
|
||||||
await api.put("config/save", this.config);
|
await api.put("config/save", this.config);
|
||||||
if(selected_tool == "pwncnc-vfd" && saveModbus){
|
|
||||||
setTimeout(() => this.state['5vv'] = 6, 2000);
|
|
||||||
}
|
|
||||||
this.modified = false;
|
this.modified = false;
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("Save failed:", error);
|
console.error("Save failed:", error);
|
||||||
|
|||||||
Reference in New Issue
Block a user