From 46da9bd873d4c312b9ff38aa03328315951a1d75 Mon Sep 17 00:00:00 2001 From: NirAz Date: Sun, 13 Sep 2020 18:56:41 +0300 Subject: [PATCH] remove SW limitation of noise filter range --- src/l500/l500-options.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/l500/l500-options.cpp b/src/l500/l500-options.cpp index 60d6aff097..f6698b60a3 100644 --- a/src/l500/l500-options.cpp +++ b/src/l500/l500-options.cpp @@ -47,12 +47,6 @@ namespace librealsense auto max_value = float(*(reinterpret_cast(max.data()))); auto min_value = float(*(reinterpret_cast(min.data()))); - if (type == noise_filtering) - { - // Hack until addressed in firmware - min_value = std::min(max_value, std::max(min_value, 2.f)); - } - _range = option_range{ min_value, max_value, float(*(reinterpret_cast(step.data()))),