aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cutter.go b/cutter.go
index 16f75d4..dbf5dab 100644
--- a/cutter.go
+++ b/cutter.go
@@ -235,11 +235,11 @@ func (c Cutter) UnknownFA() (string, error) {
}
// VersionUpgrade
-func (c Cutter) VersionUpgrade() (string, error) {
+func (c Cutter) BootVersion() (string, error) {
c.WriteByte(ESC)
c.WriteByte(1)
c.Flush()
- return c.readResponse()
+ return c.ReadString(' ')
}
// Upgrade starts update sequence