aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-04-24 00:33:32 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-04-24 00:33:32 +0200
commit920df5ef6302b279fa91cd481ec2bca5985a23ad (patch)
tree9285d68c16d3cd0245b705ace30ba3e0181369ed
parent52671eb2889eeb68762fdb1eee071675e19e0c8f (diff)
Add comment on update
-rw-r--r--cutter.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cutter.go b/cutter.go
index e6528f3..7134c09 100644
--- a/cutter.go
+++ b/cutter.go
@@ -232,6 +232,8 @@ func (c Cutter) UpdaterVersion() (string, error) {
return c.readResponse()
}
+// Update starts update sequence
+// Send raw S-Record data after
func (c Cutter) Update() (bool, error) {
c.WriteString("CC1VERUP")
c.Flush()