aboutsummaryrefslogtreecommitdiff
path: root/fsm.go
diff options
context:
space:
mode:
Diffstat (limited to 'fsm.go')
-rw-r--r--fsm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/fsm.go b/fsm.go
index d9433f1..dfe04a5 100644
--- a/fsm.go
+++ b/fsm.go
@@ -53,7 +53,7 @@ func (f *FSM) Start() {
}
func (f *FSM) initalState() stateFn {
- f.commands <- &Command{Direction: 90}
+ f.commands <- &Command{Look: 90}
return f.readDistance
}