From 35d5c4ac9daa94d55b302fa214929c3bad43e0c3 Mon Sep 17 00:00:00 2001 From: ohadmeir Date: Tue, 21 May 2024 16:12:28 +0300 Subject: [PATCH] Revert usage of power_for_duration (PR#12897) because of CI failures --- src/ds/d400/d400-device.cpp | 3 --- src/ds/d500/d500-device.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/ds/d400/d400-device.cpp b/src/ds/d400/d400-device.cpp index 9020e66e20..5a1fb757be 100644 --- a/src/ds/d400/d400-device.cpp +++ b/src/ds/d400/d400-device.cpp @@ -493,9 +493,6 @@ namespace librealsense auto depth_ep = std::make_shared(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); diff --git a/src/ds/d500/d500-device.cpp b/src/ds/d500/d500-device.cpp index c8a2e07c58..c9b57b4091 100644 --- a/src/ds/d500/d500-device.cpp +++ b/src/ds/d500/d500-device.cpp @@ -345,9 +345,6 @@ namespace librealsense auto depth_ep = std::make_shared(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);