Skip to content

Commit

Permalink
fix: Fixed low update frequency for spindle RPM and feedrate
Browse files Browse the repository at this point in the history
  • Loading branch information
Billiam committed Aug 21, 2024
1 parent 015739f commit 7bd7b82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/state-feeder.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ export default (socket, ackBus) => {

const listeners = {
'Grbl:state': (data) => {
const { wpos, mpos, ov } = data.status
const { modal, spindle, feedrate } = data.parserstate
const { wpos, mpos, ov, spindle, feedrate } = data.status
const { modal } = data.parserstate
cnc.setOverrides(...ov)
cnc.setWpos(wpos)
cnc.setMpos(mpos)
Expand Down

0 comments on commit 7bd7b82

Please sign in to comment.