aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-04-24 02:11:32 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-04-24 02:11:32 +0200
commit3632959e74cd1047d856659cee708b5af4ec7584 (patch)
tree67b23a0585518dbb03a0d789ed20d3b39bb50933
parent755d6bf4cd37843e830c2883a2af2c4e0391ea39 (diff)
Drop Status command, replaced by Ready
-rw-r--r--cutter.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/cutter.go b/cutter.go
index 406648c..72db3a2 100644
--- a/cutter.go
+++ b/cutter.go
@@ -253,21 +253,6 @@ func (c Cutter) Initialize() {
c.Flush()
}
-// Status ???
-func (c Cutter) Status() (string, error) {
- c.WriteString("\x1b\x05")
- c.Flush()
- ans, err := c.readResponse()
- switch ans {
- case "0":
- return "Ready", nil
- case "1":
- return "Moving", nil
- default:
- return "Unknown", err
- }
-}
-
func (c Cutter) Ready() bool {
c.WriteString("\x1b\x05")
c.Flush()