Skip to content

Commit

Permalink
Increase hover time and remove cruft from simple Bebop drone example
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Apr 12, 2016
1 parent f1239d4 commit f90acf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/bebop.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func main() {

work := func() {
gobot.On(drone.Event("flying"), func(data interface{}) {
gobot.After(3*time.Second, func() {
gobot.After(10*time.Second, func() {
drone.Land()
})
})
Expand Down

0 comments on commit f90acf8

Please sign in to comment.