diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-11-25 11:50:35 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-11-25 11:50:35 +0100 |
commit | 55cf2fc61c7b90725cd960f9c7d72737024f1cfc (patch) | |
tree | dca32b803a55a4f2154c8fc08d5b6bcfb035c8b7 /src/examples/publisher | |
parent | c167df90380fdd99d1b56024c4de104a3f0a2f85 (diff) | |
download | px4-firmware-55cf2fc61c7b90725cd960f9c7d72737024f1cfc.tar.gz px4-firmware-55cf2fc61c7b90725cd960f9c7d72737024f1cfc.tar.bz2 px4-firmware-55cf2fc61c7b90725cd960f9c7d72737024f1cfc.zip |
WIP, towards more px4 compatibility, first macros
Diffstat (limited to 'src/examples/publisher')
-rw-r--r-- | src/examples/publisher/publisher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/examples/publisher/publisher.cpp b/src/examples/publisher/publisher.cpp index 6869e765b..c09cca1fc 100644 --- a/src/examples/publisher/publisher.cpp +++ b/src/examples/publisher/publisher.cpp @@ -57,7 +57,7 @@ int main(int argc, char **argv) * than we can send them, the number here specifies how many messages to * buffer up before throwing some away. */ - px4::Publisher rc_channels_pub = n.advertise<px4::rc_channels>("rc_channels"); + px4::Publisher rc_channels_pub = n.advertise<px4::rc_channels>(PX4_TOPIC(rc_channels)); px4::Rate loop_rate(10); |