From f4a326c2bf7af6eac86983cd65e66ff76e623e22 Mon Sep 17 00:00:00 2001 From: Thomas Gubler Date: Thu, 4 Dec 2014 13:20:12 +0100 Subject: platform headers: fix code style --- src/platforms/px4_publisher.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/platforms/px4_publisher.h') 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 * list) : + List *list) : uORB::PublicationNode(meta, list) {} @@ -90,8 +90,9 @@ public: * @param msg the message which is published to the topic */ template - int publish(const M &msg) { - uORB::PublicationBase::update((void*)&msg); + int publish(const M &msg) + { + uORB::PublicationBase::update((void *)&msg); return 0; } -- cgit v1.2.3