Skip to content

Commit 91f4472

Browse files
committed
more d430 gmsl mipi specific changes
1 parent eb43b2c commit 91f4472

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

include/librealsense2/rs.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ extern "C" {
2424
#include "h/rs_sensor.h"
2525

2626
#define RS2_API_MAJOR_VERSION 2
27-
#define RS2_API_MINOR_VERSION 56
28-
#define RS2_API_PATCH_VERSION 0
27+
#define RS2_API_MINOR_VERSION 57
28+
#define RS2_API_PATCH_VERSION 52
2929
#define RS2_API_BUILD_VERSION 0
3030

3131
#ifndef STRINGIFY

src/ds/d400/d400-active.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace librealsense
3434
auto pid = this->_pid;
3535
auto& depth_ep = get_depth_sensor();
3636

37-
if( pid == ds::RS457_PID )
37+
if( pid == ds::RS457_PID || pid == ds::RS430_GMSL_PID)
3838
{
3939
depth_ep.register_option( RS2_OPTION_PROJECTOR_TEMPERATURE,
4040
std::make_shared< projector_temperature_option_mipi >(

src/ds/d400/d400-device.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ namespace librealsense
909909
}
910910
}
911911

912-
if (!val_in_range(_pid, { ds::RS457_PID }))
912+
if (!val_in_range(_pid, { ds::RS457_PID, RS430_GMSL_PID }))
913913
{
914914
depth_sensor.register_option( RS2_OPTION_STEREO_BASELINE,
915915
std::make_shared< const_value_option >(
@@ -992,7 +992,7 @@ namespace librealsense
992992
firmware_version fw_ver = firmware_version( get_info( RS2_CAMERA_INFO_FIRMWARE_VERSION ) );
993993
auto pid = get_pid();
994994

995-
if( ( pid == ds::RS457_PID || pid == ds::RS455_PID ) && fw_ver >= firmware_version( 5, 14, 0, 0 ) )
995+
if( ( pid == ds::RS457_PID || pid == ds::RS455_PID || pid == ds::RS430_GMSL_PID ) && fw_ver >= firmware_version( 5, 14, 0, 0 ) )
996996
register_feature( std::make_shared< emitter_frequency_feature >( get_depth_sensor() ) );
997997

998998
if( fw_ver >= firmware_version( 5, 11, 9, 0 ) )
@@ -1003,7 +1003,7 @@ namespace librealsense
10031003

10041004
register_feature( std::make_shared< auto_exposure_roi_feature >( get_depth_sensor(), _hw_monitor ) );
10051005

1006-
if( pid != ds::RS457_PID && pid != ds::RS415_PID && fw_ver >= firmware_version( 5, 12, 10, 11 ) )
1006+
if( pid != ds::RS457_PID && pid != ds::RS415_PID && pid != ds::RS430_GMSL_PID && fw_ver >= firmware_version( 5, 12, 10, 11 ) )
10071007
{
10081008
register_feature(
10091009
std::make_shared< auto_exposure_limit_feature >( get_depth_sensor(), d400_device::_hw_monitor ) );

src/fw-update/fw-update-device.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ namespace librealsense
341341
void update_device::update(const void* fw_image, int fw_image_size, rs2_update_progress_callback_sptr update_progress_callback) const
342342
{
343343
LOG_INFO( "Uploading FW image ..." );
344-
if(_pid == "ABCD" || _pid == "BBCD")
344+
if(_pid == "ABCD" || _pid == "BBCD" || _pid == "ABCE")
345345
{
346346
update_mipi(fw_image, fw_image_size, update_progress_callback);
347347
}

0 commit comments

Comments
 (0)