From c0a6d6c74b73cfdadca52dfa6aff27d8ee6c21ed Mon Sep 17 00:00:00 2001 From: Baptiste Adrien Date: Wed, 20 Nov 2013 00:19:07 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7662bff..66fa3c8 100644 --- a/README.md +++ b/README.md @@ -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 }); ```