Skip to content

Commit 3aeabe6

Browse files
committed
cr corrections
1 parent 39d6c70 commit 3aeabe6

11 files changed

Lines changed: 12 additions & 11 deletions

File tree

include/librealsense2/rs.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ extern "C" {
2626

2727
#define RS2_API_MAJOR_VERSION 2
2828
#define RS2_API_MINOR_VERSION 57
29-
#define RS2_API_PATCH_VERSION 10
29+
#define RS2_API_PATCH_VERSION 0
3030
#define RS2_API_BUILD_VERSION 0
3131

3232
#ifndef STRINGIFY

src/ds/d500/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ target_sources(${LRS_TARGET}
3131
"${CMAKE_CURRENT_LIST_DIR}/d500-info.h"
3232
"${CMAKE_CURRENT_LIST_DIR}/d500-fw-update-device.h"
3333
"${CMAKE_CURRENT_LIST_DIR}/d500-auto-calibration.h"
34-
"${CMAKE_CURRENT_LIST_DIR}/d500-md.h"
34+
"${CMAKE_CURRENT_LIST_DIR}/d585s-md.h"
3535
"${CMAKE_CURRENT_LIST_DIR}/d500-auto-calibration.h"
3636
"${CMAKE_CURRENT_LIST_DIR}/d500-debug-protocol-calibration-engine.h"
3737
)

src/ds/d500/d500-depth-mapping.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#include "d500-safety.h"
77
#include "d500-info.h"
8-
#include "d500-md.h"
8+
#include "d585s-md.h"
99
#include "d500-types/safety-interface-config.h"
1010

1111
#include <vector>

src/ds/d500/d500-device.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -830,7 +830,10 @@ namespace librealsense
830830
parsed_fields->optical_module_sn = _hw_monitor->get_module_serial_string(gvd_buff, ds::d500_gvd_offsets::optical_module_serial_offset);
831831
parsed_fields->mb_module_sn = _hw_monitor->get_module_serial_string(gvd_buff, ds::d500_gvd_offsets::mb_module_serial_offset);
832832
parsed_fields->fw_version = _hw_monitor->get_firmware_version_string<uint16_t>(gvd_buff, ds::d500_gvd_offsets::fw_version_offset, 4, false);
833-
parsed_fields->safety_sw_suite_version = _hw_monitor->get_firmware_version_string<uint8_t>(gvd_buff, ds::d500_gvd_offsets::safety_sw_suite_version_offset, 4, false);
833+
if (_pid == ds::D585S_PID)
834+
{
835+
parsed_fields->safety_sw_suite_version = _hw_monitor->get_firmware_version_string<uint8_t>(gvd_buff, ds::d500_gvd_offsets::safety_sw_suite_version_offset, 4, false);
836+
}
834837

835838
constexpr size_t gvd_header_size = 8;
836839
auto gvd_payload_data = gvd_buff.data() + gvd_header_size;

src/ds/d500/d500-safety.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "ds/ds-options.h"
1515
#include "d500-options.h"
1616
#include "d500-info.h"
17-
#include "d500-md.h"
17+
#include "d585s-md.h"
1818
#include "stream.h"
1919
#include "backend.h"
2020
#include "platform/platform-utils.h"

src/ds/ds-timestamp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#include "device.h"
1515
#include "image.h"
1616
#include "metadata.h"
17-
#include "d500/d500-md.h"
17+
#include "d500/d585s-md.h"
1818

1919
namespace librealsense
2020
{

third-party/realdds/include/realdds/dds-topic-writer.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright(c) 2025 RealSense, Inc. All Rights Reserved. */
21
// License: Apache 2.0. See LICENSE file in root directory.
32
// Copyright(c) 2022-4 RealSense, Inc. All Rights Reserved.
43
#pragma once
@@ -31,7 +30,7 @@ class dds_publisher;
3130
// The 'writer' is used to write data to a topic, bound at creation time (and therefore bound to a specific type).
3231
//
3332
// You may choose to create one via a 'publisher' that manages the activities of several writers and determines when the
34-
// data is actually sent. By default, data is sent as soon as the writers write() function is called.
33+
// data is actually sent. By default, data is sent as soon as the writer's write() function is called.
3534
//
3635
class dds_topic_writer : protected eprosima::fastdds::dds::DataWriterListener
3736
{

third-party/realdds/src/dds-participant.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// Copyright(c) 2025 RealSense, Inc. All Rights Reserved.
22
// License: Apache 2.0. See LICENSE file in root directory.
3-
// Copyright(c) 2022-4 RealSense, Inc. All Rights Reserved.
43

54
#include <realdds/dds-participant.h>
65
#include <realdds/dds-utilities.h>

tools/fw-update/rs-fw-update.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ void waiting_for_device_to_reconnect(rs2::context& ctx, rs2::cli::value<std::str
175175

176176
}
177177

178-
int write_fw_to_mipi_device(rs2::context& ctx, rs2::cli::value<std::string>& serial_number_arg,
179-
const rs2::device& dev, const std::vector< uint8_t >& fw_image)
178+
int write_fw_to_mipi_device(rs2::context& ctx, rs2::cli::value<std::string>& serial_number_arg, const rs2::device& dev, const std::vector< uint8_t >& fw_image)
180179
{
181180
// Write firmware to appropriate file descriptor
182181
std::cout << std::endl << "Update can take up to 2 minutes" << std::endl;

0 commit comments

Comments
 (0)