diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-11-26 13:18:28 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-11-26 13:18:28 +0100 |
commit | ee534b827a51a7356e565b665e280f765bd8d302 (patch) | |
tree | 26509aeeb1484826e91d3f292e55a4d218b4fcc0 /src/examples/publisher | |
parent | 818a49b5a81a5b821fa9a1a13db4591da5c33751 (diff) | |
download | px4-firmware-ee534b827a51a7356e565b665e280f765bd8d302.tar.gz px4-firmware-ee534b827a51a7356e565b665e280f765bd8d302.tar.bz2 px4-firmware-ee534b827a51a7356e565b665e280f765bd8d302.zip |
move spin functions to nodehandle
Diffstat (limited to 'src/examples/publisher')
-rw-r--r-- | src/examples/publisher/publisher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/publisher/publisher.cpp b/src/examples/publisher/publisher.cpp index 5ee8b459b..521c7c838 100644 --- a/src/examples/publisher/publisher.cpp +++ b/src/examples/publisher/publisher.cpp @@ -90,7 +90,7 @@ PX4_MAIN_FUNCTION(publisher) */ rc_channels_pub->publish(msg); - px4::spin_once(); + n.spinOnce(); loop_rate.sleep(); ++count; |