diff --git a/libuavcan_drivers/linux/include/uavcan_linux/helpers.hpp b/libuavcan_drivers/linux/include/uavcan_linux/helpers.hpp index 5bc9bf4ec1..ee75075ea9 100644 --- a/libuavcan_drivers/linux/include/uavcan_linux/helpers.hpp +++ b/libuavcan_drivers/linux/include/uavcan_linux/helpers.hpp @@ -375,7 +375,7 @@ static inline NodePtr makeNode(const std::shared_ptr& can_dr * Clock adjustment mode will be detected automatically unless provided explicitly. * @throws uavcan_linux::Exception. */ -static inline NodePtr makeSubNode(const std::vector& iface_names, +static inline SubNodePtr makeSubNode(const std::vector& iface_names, ClockAdjustmentMode clock_adjustment_mode = SystemClock::detectPreferredClockAdjustmentMode()) {