aboutsummaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-12-10 18:34:41 +0100
committerThomas Gubler <thomasgubler@gmail.com>2014-12-10 18:34:41 +0100
commitd04bbf11ec5d273902d3920981ccac49489d7098 (patch)
tree59a3a97aeeb07e8c6334f93ae36b851a199a7c12 /src/examples
parent1b6b6cd35c1f14766d49144bbc18d19d02656362 (diff)
downloadpx4-firmware-d04bbf11ec5d273902d3920981ccac49489d7098.tar.gz
px4-firmware-d04bbf11ec5d273902d3920981ccac49489d7098.tar.bz2
px4-firmware-d04bbf11ec5d273902d3920981ccac49489d7098.zip
subscriber example: add comment
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/subscriber/subscriber_example.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/examples/subscriber/subscriber_example.cpp b/src/examples/subscriber/subscriber_example.cpp
index 460a3267a..4e0350ff0 100644
--- a/src/examples/subscriber/subscriber_example.cpp
+++ b/src/examples/subscriber/subscriber_example.cpp
@@ -73,6 +73,7 @@ SubscriberExample::SubscriberExample() :
/**
* This tutorial demonstrates simple receipt of messages over the PX4 middleware system.
+ * Also the current value of the _sub_rc_chan subscription is printed
*/
void SubscriberExample::rc_channels_callback(const PX4_TOPIC_T(rc_channels) &msg) {
PX4_INFO("Subscriber callback: [%llu], value of _sub_rc_chan: [%llu]",