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
@@ -1128,13 +1128,13 @@ void OBCameraNode::setAeRoiCallback(const std::shared_ptr<SetArrays ::Request>&
std::shared_ptr<SetArrays::Response>& response,
const stream_index_pair& stream_index) {
auto stream = stream_index.first;
if (isGemini305SeriesPID(device_->getDeviceInfo()->getPid()) &&
if (isGemini301SeriesPID(device_->getDeviceInfo()->getPid()) &&
(stream != OB_STREAM_COLOR && ae_reference_stream_ == "color")) {
response->success = false;
response->message = "AE Reference Stream is color, other sensors setting is not supported";
return;
}
if (isGemini305SeriesPID(device_->getDeviceInfo()->getPid()) &&
if (isGemini301SeriesPID(device_->getDeviceInfo()->getPid()) &&
(stream != OB_STREAM_DEPTH && ae_reference_stream_ == "depth")) {
response->success = false;
response->message =