Skip to content

Commit ea15381

Browse files
committed
Grbl buffer updates
- Changed to queue structure for tracking what is in grbl buffer. - added callbacks for queued/write/complete - Prevent status reporting from sending ‘?’ back to client - Limit amount of status reports are sent back to client by only sending when a change is detected - Moved gcode whitespace/comment removal to spas Former-commit-id: 096c6d889a91481c03e7c6fe8c9f38e0db1bc76f [formerly e200ce0a1a74d56a030cb9fa4e275a7360ddf395] Former-commit-id: 4fdbf2fbc4a14aa4ad79da189ac3cae5c38cda87
1 parent a6b7012 commit ea15381

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

bufferflow.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,17 @@ type Bufferflow interface {
3232
IsBufferGloballySendingBackIncomingData() bool // implement this method
3333
Close() // implement this method
3434
}
35+
36+
/*data packets returned to client*/
37+
type DataCmdComplete struct {
38+
Cmd string
39+
Id string
40+
P string
41+
BufSize int
42+
D string
43+
}
44+
45+
type DataPerLine struct {
46+
P string
47+
D string
48+
}

bufferflow_grbl.go.REMOVED.git-id

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
13dce9b64b89fc288f10659c294ba47b1d7113a0
1+
2306c6db796cb4a793abb73245164969ff8b2ebb

bufferflow_tinyg.go.REMOVED.git-id

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ca040c9d6b6e1743c8e71d251dedb419c0b54dc5
1+
d6d13aa59ea22078377e6e77dd609f35bf9fb49d

0 commit comments

Comments
 (0)