Skip to content

Commit

Permalink
updated validateAndGetSuitableProfile() function
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-Prasad-V committed Mar 4, 2024
1 parent d7c7956 commit ca3bc5a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions realsense2_camera/src/profile_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ std::map<stream_index_pair, rs2::stream_profile> ProfilesManager::getDefaultProf

rs2::stream_profile VideoProfilesManager::validateAndGetSuitableProfile(rs2_stream stream_type, rs2::stream_profile given_profile)
{
if (_all_profiles.empty())
throw std::runtime_error("Wrong commands sequence. No profiles set.");

rs2::stream_profile suitable_profile = given_profile;
bool is_given_profile_suitable = false;

Expand Down

0 comments on commit ca3bc5a

Please sign in to comment.