Skip to content

Commit

Permalink
backlight compansation is for d400 only
Browse files Browse the repository at this point in the history
  • Loading branch information
Nir-Az committed Dec 11, 2023
1 parent 9822141 commit e7e06cb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/ds/d400/d400-color.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ namespace librealsense
if (!val_in_range(_pid, { ds::RS457_PID }))
{
_ds_color_common->register_color_options();
color_ep.register_pu(RS2_OPTION_BACKLIGHT_COMPENSATION);
}

if (_separate_color)
Expand Down
1 change: 0 additions & 1 deletion src/ds/ds-color-common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ namespace librealsense
_color_ep.register_pu(RS2_OPTION_SATURATION);
_color_ep.register_pu(RS2_OPTION_GAMMA);
_color_ep.register_pu(RS2_OPTION_SHARPNESS);
_color_ep.register_pu(RS2_OPTION_BACKLIGHT_COMPENSATION);

auto white_balance_option = std::make_shared<uvc_pu_option>(_raw_color_ep, RS2_OPTION_WHITE_BALANCE);
_color_ep.register_option(RS2_OPTION_WHITE_BALANCE, white_balance_option);
Expand Down

0 comments on commit e7e06cb

Please sign in to comment.