aboutsummaryrefslogtreecommitdiff
path: root/cutter.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-04-24 03:10:34 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-04-24 03:10:34 +0200
commit32cd8e3498feac9529eadf91a0390db779d17633 (patch)
treeea11af20a5652c1a5a45e58e4996cce78215af41 /cutter.go
parentad75650097b121c83423fab4647ca240d5c8c1bf (diff)
Rename
Diffstat (limited to 'cutter.go')
-rw-r--r--cutter.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/cutter.go b/cutter.go
index 955b1fb..16f75d4 100644
--- a/cutter.go
+++ b/cutter.go
@@ -234,17 +234,17 @@ func (c Cutter) UnknownFA() (string, error) {
return c.readResponse()
}
-// Updater Version ???
-func (c Cutter) UpdaterVersion() (string, error) {
+// VersionUpgrade
+func (c Cutter) VersionUpgrade() (string, error) {
c.WriteByte(ESC)
c.WriteByte(1)
c.Flush()
return c.readResponse()
}
-// Update starts update sequence
+// Upgrade starts update sequence
// Send raw S-Record data after
-func (c Cutter) Update() (bool, error) {
+func (c Cutter) Upgrade() (bool, error) {
c.WriteString("CC1VERUP")
c.Flush()
ans, err := c.readResponse()