refactor: rename Gemini 301 series PID helper

This commit is contained in:
ob-yalian
2026-09-15 15:51:42 +08:00
parent 162be38603
commit 68e51f7b9c
5 changed files with 22 additions and 22 deletions
+2 -2
View File
@@ -145,8 +145,8 @@ void listSensorProfiles(const std::shared_ptr<ob::Device>& device) {
auto origin_profile = profile_list->getProfile(j);
if ((sensor->getType() == OB_SENSOR_DEPTH || sensor->getType() == OB_SENSOR_IR_LEFT ||
sensor->getType() == OB_SENSOR_IR_RIGHT) &&
isGemini305SeriesPID(pid)) {
// Gemini 305 series
isGemini301SeriesPID(pid)) {
// Gemini 301 series
auto profile = origin_profile->as<ob::VideoStreamProfile>();
std::cout << magic_enum::enum_name(sensor->getType()) << " profile: " << profile->getWidth()
<< "x" << profile->getHeight() << " " << profile->getFps() << "fps "