create list of subscribers

This commit is contained in:
Thomas Gubler
2014-11-24 18:53:08 +01:00
parent 1826fa5d39
commit e2f846ee2f
3 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ int main(int argc, char **argv)
* is the number of messages that will be buffered up before beginning to throw
* away the oldest ones.
*/
px4::Subscriber* sub = n.subscribe("rc_channels", rc_channels_callback);
px4::Subscriber sub = n.subscribe("rc_channels", rc_channels_callback);
PX4_INFO("subscribed");
/**