fixed sytax error in vfd_spindle.c

This commit is contained in:
saifullah-N
2023-02-12 14:49:17 +05:30
parent f0c4579b61
commit d79c269b66

View File

@@ -171,14 +171,14 @@ const vfd_reg_t v70_regs[] PROGMEM = {
const vfd_reg_t pwncnc_regs[] PROGMEM = { const vfd_reg_t pwncnc_regs[] PROGMEM = {
{REG_MAX_FREQ_READ, 0x0007, 0}, // Read max frequency {REG_MAX_FREQ_READ, 0x0007, 0}, // Read max frequency
+{REG_FREQ_SCALED_SET, 0xa001, 10000}, // Set scaled frequency {REG_FREQ_SCALED_SET, 0xa001, 10000}, // Set scaled frequency
+{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, 5}, // 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},
}; };
static vfd_reg_t regs[VFDREG]; static vfd_reg_t regs[VFDREG];