Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Serafadam committed Oct 14, 2024
1 parent 4c163e0 commit b6ab2a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions depthai_ros_driver/src/camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<dai::Device>(std::get<1>(info), speed);
camRunning = true;
} else {
Expand Down

0 comments on commit b6ab2a5

Please sign in to comment.