Skip to content

Commit

Permalink
sample usage in d500
Browse files Browse the repository at this point in the history
  • Loading branch information
maloel committed Oct 3, 2023
1 parent 697e82a commit b9e6036
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/ds/d500/d500-factory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
#include "firmware_logger_device.h"
#include "device-calibration.h"

#include <rsutils/string/hexdump.h>
using rsutils::string::hexdump;


namespace librealsense
{

Expand Down Expand Up @@ -115,8 +119,7 @@ class d555e_device
return std::make_shared< d555e_device >( dev_info );

default:
throw std::runtime_error( rsutils::string::from() << "Unsupported D500 model! 0x" << std::hex
<< std::setw( 4 ) << std::setfill( '0' ) << (int)pid );
throw std::runtime_error( rsutils::string::from() << "unsupported D500 PID 0x" << hexdump( pid ) );
}
}

Expand Down

0 comments on commit b9e6036

Please sign in to comment.