mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 00:03:33 +08:00
WIP, towards more px4 compatibility, first macros
This commit is contained in:
@@ -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(PX4_TOPIC(rc_channels), rc_channels_callback);
|
||||
PX4_INFO("subscribed");
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user