Skip to content

Commit

Permalink
Revert usage of power_for_duration (PR#12897) because of CI failures
Browse files Browse the repository at this point in the history
  • Loading branch information
OhadMeir committed May 21, 2024
1 parent 7f2228e commit 35d5c4a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/ds/d400/d400-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -493,9 +493,6 @@ namespace librealsense

auto depth_ep = std::make_shared<d400_depth_sensor>(this, raw_depth_ep);

// Many commands need power during initialization phase, no point turning it on and off again for each.
raw_depth_ep->power_for_duration( std::chrono::milliseconds( 1000 ) );

depth_ep->register_info(RS2_CAMERA_INFO_PHYSICAL_PORT, filter_by_mi(all_device_infos, 0).front().device_path);

depth_ep->register_option(RS2_OPTION_GLOBAL_TIME_ENABLED, enable_global_time_option);
Expand Down
3 changes: 0 additions & 3 deletions src/ds/d500/d500-device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,9 +345,6 @@ namespace librealsense

auto depth_ep = std::make_shared<d500_depth_sensor>(this, raw_depth_ep);

// Many commands need power during initialization phase, no point turning it on and off again for each.
raw_depth_ep->power_for_duration( std::chrono::milliseconds( 1000 ) );

depth_ep->register_info(RS2_CAMERA_INFO_PHYSICAL_PORT, filter_by_mi(all_device_infos, 0).front().device_path);

depth_ep->register_option(RS2_OPTION_GLOBAL_TIME_ENABLED, enable_global_time_option);
Expand Down

0 comments on commit 35d5c4a

Please sign in to comment.