improve subsciber api

This commit is contained in:
Thomas Gubler
2014-11-24 17:38:27 +01:00
parent 3f36d30a34
commit 1826fa5d39
3 changed files with 8 additions and 3 deletions
+1
View File
@@ -75,6 +75,7 @@ int main(int argc, char **argv)
* away the oldest ones.
*/
px4::Subscriber* sub = n.subscribe("rc_channels", rc_channels_callback);
PX4_INFO("subscribed");
/**
* px4::spin() will enter a loop, pumping callbacks. With this version, all