Skip to content

Commit 8dc8a64

Browse files
committed
Revert "removed unused variable"
This reverts commit 7161148.
1 parent 7161148 commit 8dc8a64

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/protonect/src/cpu_depth_packet_processor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,9 @@ class CpuDepthPacketProcessorImpl
580580
{
581581
if(max_edge_test_ok)
582582
{
583+
float tmp1 = 1500.0f > raw_depth ? 30.0f : 0.02f * raw_depth;
583584
float edge_count = 0.0f;
585+
584586
*depth_out = edge_count > params.max_edge_count ? 0.0f : raw_depth;
585587
}
586588
else

0 commit comments

Comments
 (0)