aboutsummaryrefslogtreecommitdiff
path: root/easteregg.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-09-26 01:02:29 +0200
committerDimitri Sokolyuk <demon@dim13.org>2016-09-26 01:02:29 +0200
commit365c44d8d352650e47995760daeca985e8a7e064 (patch)
treec65710ed58bd3890ef70e3f7447c1cae209e99e2 /easteregg.go
parent06fe0f88b8cfb51ab7e58c3d6ef5c8c940963ed8 (diff)
wip
Diffstat (limited to 'easteregg.go')
-rw-r--r--easteregg.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/easteregg.go b/easteregg.go
index 2e3ad05..a1a9326 100644
--- a/easteregg.go
+++ b/easteregg.go
@@ -1,7 +1,5 @@
package robo
-import "bufio"
-
// found in firmware V2.30
var easteregg = []string{
`FU5440,4000`,
@@ -341,8 +339,8 @@ var easteregg = []string{
`FO0`,
}
-func EasterEgg(c *bufio.Writer) {
+func (r Robo) EasterEgg() {
for _, cmd := range easteregg {
- Send(c, cmd)
+ r.Printf(cmd)
}
}