From ef890dee0c3497170e6221023c1c329db226897e Mon Sep 17 00:00:00 2001 From: Kalman Date: Fri, 10 Aug 2018 15:21:09 +0800 Subject: [PATCH] delete the unsupported option in option_supports_map --- src/internal/config.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/internal/config.cc b/src/internal/config.cc index 2bf99ab..ca4eb26 100644 --- a/src/internal/config.cc +++ b/src/internal/config.cc @@ -22,11 +22,7 @@ const std::map capabilities_supports_map = { {Model::STANDARD, {Capabilities::STEREO_COLOR, Capabilities::IMU}}}; const std::map option_supports_map = { - {Model::STANDARD, - {Option::GAIN, Option::BRIGHTNESS, Option::CONTRAST, Option::FRAME_RATE, - Option::IMU_FREQUENCY, Option::EXPOSURE_MODE, Option::MAX_GAIN, - Option::MAX_EXPOSURE_TIME, Option::DESIRED_BRIGHTNESS, Option::IR_CONTROL, - Option::HDR_MODE, Option::ZERO_DRIFT_CALIBRATION, Option::ERASE_CHIP}}}; + {Model::STANDARD, {Option::ERASE_CHIP}}}; const std::map> stream_requests_map = {