diff options
author | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-04 13:20:12 +0100 |
---|---|---|
committer | Thomas Gubler <thomasgubler@gmail.com> | 2014-12-04 13:20:12 +0100 |
commit | f4a326c2bf7af6eac86983cd65e66ff76e623e22 (patch) | |
tree | 53e5c4937de05fcf46aa14882ecf1f2bf8660250 /src/platforms/px4_publisher.h | |
parent | e0bb713bb03c0aa79e69496c787c012a8e1b78d1 (diff) | |
download | px4-firmware-f4a326c2bf7af6eac86983cd65e66ff76e623e22.tar.gz px4-firmware-f4a326c2bf7af6eac86983cd65e66ff76e623e22.tar.bz2 px4-firmware-f4a326c2bf7af6eac86983cd65e66ff76e623e22.zip |
platform headers: fix code style
Diffstat (limited to 'src/platforms/px4_publisher.h')
-rw-r--r-- | src/platforms/px4_publisher.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/platforms/px4_publisher.h b/src/platforms/px4_publisher.h index b67421066..cb15eeb58 100644 --- a/src/platforms/px4_publisher.h +++ b/src/platforms/px4_publisher.h @@ -80,7 +80,7 @@ public: * @param list publisher is added to this list */ Publisher(const struct orb_metadata *meta, - List<uORB::PublicationNode *> * list) : + List<uORB::PublicationNode *> *list) : uORB::PublicationNode(meta, list) {} @@ -90,8 +90,9 @@ public: * @param msg the message which is published to the topic */ template<typename M> - int publish(const M &msg) { - uORB::PublicationBase::update((void*)&msg); + int publish(const M &msg) + { + uORB::PublicationBase::update((void *)&msg); return 0; } |