aboutsummaryrefslogtreecommitdiff
path: root/src/examples/publisher
diff options
context:
space:
mode:
Diffstat (limited to 'src/examples/publisher')
-rw-r--r--src/examples/publisher/publisher.cpp2
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;