Skip to content

Commit

Permalink
Fix log message for missing/unregistered formats
Browse files Browse the repository at this point in the history
Change-Id: I832c47b52381243d5aa33fa3217180f0ed9085a8
  • Loading branch information
ev-mp committed Apr 10, 2019
1 parent acec0d6 commit bfcd439
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sensor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,6 @@ namespace librealsense
std::unordered_set<std::shared_ptr<video_stream_profile>> results;
std::set<uint32_t> unregistered_formats;
std::set<uint32_t> supported_formats;
std::set<uint32_t> registered_formats;

power on(std::dynamic_pointer_cast<uvc_sensor>(shared_from_this()));
if (_uvc_profiles.empty()){}
Expand Down Expand Up @@ -354,7 +353,7 @@ namespace librealsense
}

ss << "]; Supported: [ ";
for (auto& elem : registered_formats)
for (auto& elem : supported_formats)
{
uint32_t device_fourcc = reinterpret_cast<const big_endian<uint32_t>&>(elem);
char fourcc[sizeof(device_fourcc) + 1];
Expand Down

0 comments on commit bfcd439

Please sign in to comment.