diff --git a/src/ds5/advanced_mode/advanced_mode.cpp b/src/ds5/advanced_mode/advanced_mode.cpp index 7b33885eb4..872121f65b 100644 --- a/src/ds5/advanced_mode/advanced_mode.cpp +++ b/src/ds5/advanced_mode/advanced_mode.cpp @@ -113,8 +113,8 @@ namespace librealsense case RS2_RS400_VISUAL_PRESET_HAND: hand_gesture(p); // depth units for D405 - if (device_pid == 0xb5b) - p.depth_table.depthUnits = 100; + if (device_pid == ds::RS405_PID) + p.depth_table.depthUnits = 100; // 0.1mm break; case RS2_RS400_VISUAL_PRESET_HIGH_ACCURACY: switch (res) diff --git a/src/ds5/advanced_mode/presets.cpp b/src/ds5/advanced_mode/presets.cpp index cf67a2d44a..3ec9c7656a 100644 --- a/src/ds5/advanced_mode/presets.cpp +++ b/src/ds5/advanced_mode/presets.cpp @@ -413,7 +413,6 @@ namespace librealsense p.depth_gain.gain = 16.f; } - void high_res_high_accuracy(preset& p) { p.depth_controls.deepSeaMedianThreshold = 796;