From 3632959e74cd1047d856659cee708b5af4ec7584 Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Fri, 24 Apr 2015 02:11:32 +0200 Subject: Drop Status command, replaced by Ready --- cutter.go | 15 --------------- 1 file changed, 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() -- cgit v1.2.3