Skip to content

Commit

Permalink
Fix missing source reference
Browse files Browse the repository at this point in the history
Delete profiling and testing code
Fix EOL/Tab inconsistencies
Remove commented-out lines
Replace writes to console

Change-Id: Ib9d6ea6e37d6d1525e6d96968e1e1087d8508651
  • Loading branch information
ev-mp committed Aug 18, 2019
1 parent a0c51a1 commit c582535
Show file tree
Hide file tree
Showing 6 changed files with 1,938 additions and 1,875 deletions.
1 change: 0 additions & 1 deletion src/ds5/ds5-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ namespace librealsense
});
}
}

auto dev = dynamic_cast<const ds5_device*>(&get_device());
auto dev_name = (dev) ? dev->get_info(RS2_CAMERA_INFO_NAME) : "";

Expand Down
1 change: 0 additions & 1 deletion src/environment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ namespace librealsense
void extrinsics_graph::register_extrinsics(const stream_interface & from, const stream_interface & to, rs2_extrinsics extr)
{
auto lazy_extr = std::make_shared<lazy<rs2_extrinsics>>([=]() {return extr; });
//_external_extrinsics.push_back(lazy_extr);
register_extrinsics(from, to, lazy_extr);
}

Expand Down
1 change: 0 additions & 1 deletion src/environment.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ namespace librealsense
std::atomic<int> _locks_count;
std::map<int, std::map<int, std::weak_ptr<lazy<rs2_extrinsics>>>> _extrinsics;

//std::vector<std::shared_ptr<lazy<rs2_extrinsics>>> _external_extrinsics;
std::map<int, std::weak_ptr<const stream_interface>> _streams;

};
Expand Down
6 changes: 1 addition & 5 deletions src/win7/win7-usb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -414,18 +414,14 @@ namespace librealsense

void win7_usb_interface::reset_interrupt_pipe() const
{
LOG_DEBUG(__FUNCTION__);

auto sts = WinUsb_ResetPipe(_interface_handle, _interrupt_pipe_id);
if (!sts)
throw winapi_error("WinUsb_ResetPipe failed!");
}

void win7_usb_interface::reset_pipe(pipe_direction pipeDirection) const
{
LOG_DEBUG(__FUNCTION__);

BOOL sts;
BOOL sts{};

if (pipeDirection == pipe_direction::InPipe)
{
Expand Down
Loading

0 comments on commit c582535

Please sign in to comment.