File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 60
60
#include < signal.h>
61
61
#include " rsutils/accelerators/gpu.h"
62
62
63
-
64
63
#pragma GCC diagnostic ignored "-Woverflow"
65
64
66
65
const size_t MAX_DEV_PARENT_DIR = 10 ;
@@ -867,7 +866,7 @@ namespace librealsense
867
866
const uint8_t GVD_PID_D457 = 0x12 ;
868
867
869
868
// device PID
870
- uint16_t device_pid = 0 ;
869
+ uint16_t device_pid = 0 ;
871
870
872
871
int fd = open (dev_name.c_str (), O_RDWR);
873
872
if (fd < 0 )
@@ -912,7 +911,7 @@ namespace librealsense
912
911
}
913
912
914
913
::close (fd);
915
-
914
+
916
915
return device_pid;
917
916
}
918
917
@@ -962,14 +961,14 @@ namespace librealsense
962
961
get_mipi_device_info (dev_name, bus_info, card);
963
962
964
963
// find device PID from depth video node
965
- static uint16_t device_pid = 0 ;
966
- try
964
+ static uint16_t device_pid = 0 ;
965
+ try
967
966
{
968
967
if (is_device_depth_node (dev_name))
969
968
{
970
969
device_pid = get_mipi_device_pid (dev_name);
971
970
}
972
- }
971
+ }
973
972
catch (const std::exception & e)
974
973
{
975
974
LOG_WARNING (" MIPI device product id detection issue, device will be skipped: " << e.what ());
You can’t perform that action at this time.
0 commit comments