Permalink
Browse files

Update README.md

  • Loading branch information...
1 parent f543c6b commit c0a6d6c74b73cfdadca52dfa6aff27d8ee6c21ed @shinework shinework committed Nov 19, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -57,10 +57,10 @@ Sets all drone movement commands to `0`, making it effectively hover in place.
#### Events
-A client will emit landed, hovering, flying, landing, batteryChange, and altitudeChange events as long as demo navdata is enabled. Here is a example for catching event:
+A client will emit `landed`, `hovering`, `flying`, `landing`, `batteryChange`, and `altitudeChange` events as long as demo navdata is enabled. Here is a example for catching event:
```php
-$client->on('landed', function($frame) {
+$client->on('landed', function() {
// do something
});
```

0 comments on commit c0a6d6c

Please sign in to comment.