aboutsummaryrefslogtreecommitdiff
path: root/easteregg.go
diff options
context:
space:
mode:
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)
}
}