From b6ab2a543bdb387e1ff444aa596ff1efbe77881f Mon Sep 17 00:00:00 2001 From: Serafadam Date: Mon, 14 Oct 2024 12:26:58 +0000 Subject: [PATCH] format --- depthai_ros_driver/src/camera.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/depthai_ros_driver/src/camera.cpp b/depthai_ros_driver/src/camera.cpp index f1a76c19..e9116ac1 100644 --- a/depthai_ros_driver/src/camera.cpp +++ b/depthai_ros_driver/src/camera.cpp @@ -199,8 +199,8 @@ void Camera::startDevice() { try { if(mxid.empty() && ip.empty() && usb_id.empty()) { RCLCPP_INFO(get_logger(), "No ip/mxid specified, connecting to the next available device."); - auto info = dai::Device::getAnyAvailableDevice(); - auto speed = ph->getUSBSpeed(); + auto info = dai::Device::getAnyAvailableDevice(); + auto speed = ph->getUSBSpeed(); device = std::make_shared(std::get<1>(info), speed); camRunning = true; } else {