Skip to content

Conversation

@Nir-Az
Copy link
Collaborator

@Nir-Az Nir-Az commented Aug 6, 2023

Cherry pick #11995
Tracked on [LRS-666]

@Nir-Az Nir-Az requested a review from maloel August 6, 2023 12:37
device_id_string = _dev.get_info(RS2_CAMERA_INFO_PRODUCT_ID);
if (val_in_range(device_id_string, { std::string("0AD3") }))
device_name_string = _dev.get_info( RS2_CAMERA_INFO_NAME );
if( val_in_range( device_name_string, { std::string( "Intel RealSense D415" ) } ) )
Copy link
Contributor

@maloel maloel Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just compare? Why val_in_range? (never mind that it's not a range)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess he align it to the code, it is used this way at several places in the code.

@Nir-Az Nir-Az merged commit 606fc6e into IntelRealSense:R/2542 Aug 8, 2023
@Nir-Az Nir-Az deleted the fl_cal_cp branch September 30, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants