From dc347f658b45d979b9dba45be860822c22832939 Mon Sep 17 00:00:00 2001 From: Pavel Kirienko Date: Wed, 9 Jul 2014 12:19:40 +0400 Subject: [PATCH] SocketCAN driver: Node::getDriverPack() --- libuavcan_drivers/linux/include/uavcan_linux/helpers.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libuavcan_drivers/linux/include/uavcan_linux/helpers.hpp b/libuavcan_drivers/linux/include/uavcan_linux/helpers.hpp index e4be9f38d4..b8fd563183 100644 --- a/libuavcan_drivers/linux/include/uavcan_linux/helpers.hpp +++ b/libuavcan_drivers/linux/include/uavcan_linux/helpers.hpp @@ -217,6 +217,9 @@ public: p->startPeriodic(period); return p; } + + const DriverPackPtr& getDriverPack() const { return driver_pack_; } + DriverPackPtr& getDriverPack() { return driver_pack_; } }; typedef std::shared_ptr NodePtr;