Skip to content

Commit

Permalink
Handle PR#13302 comments
Browse files Browse the repository at this point in the history
  • Loading branch information
OhadMeir committed Sep 2, 2024
1 parent 7f85f3d commit 34a1fda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dds/rs-dds-depth-sensor-proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ float dds_depth_sensor_proxy::get_stereo_baseline_mm() const
{
if( prof->get_stream_index() == 1 )
ir1 = prof;
if( prof->get_stream_index() == 2 )
else if( prof->get_stream_index() == 2 )
ir2 = prof;
}
}
Expand All @@ -55,7 +55,7 @@ float dds_depth_sensor_proxy::get_stereo_baseline_mm() const
}
}

throw std::runtime_error( "Not a stereo depth sensor. Cannot get basline information." );
throw not_implemented_exception( "Not a stereo depth sensor. Cannot get basline information." );
}

void dds_depth_sensor_proxy::add_no_metadata( frame * const f, streaming_impl & streaming )
Expand Down

0 comments on commit 34a1fda

Please sign in to comment.