From 8b380d44bb9ea95e103267ce043ee98bb6513fc1 Mon Sep 17 00:00:00 2001 From: Matthew Date: Mon, 24 Feb 2025 19:40:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/PhoneDevice.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index dc44b446..005b5af1 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1678,6 +1678,7 @@ bool CPhoneDevice::onOneCapture(std::shared_ptr characteristics if (rgb.empty()) { + XYLOG(XYLOG_SEVERITY_ERROR, "Empty Mat object CH=%u IMGID=%u", (uint32_t)photoInfo.channel, (uint32_t)photoInfo.photoId); TakePhotoCb(0, photoInfo, "", takingTime); return true; } @@ -2052,6 +2053,7 @@ bool CPhoneDevice::onBurstCapture(std::shared_ptr characteristi if (rgb.empty()) { + XYLOG(XYLOG_SEVERITY_ERROR, "Empty Mat object CH=%u IMGID=%u", (uint32_t)photoInfo.channel, (uint32_t)photoInfo.photoId); pThis->TakePhotoCb(0, photoInfo, path, takingTime); } else @@ -2369,6 +2371,7 @@ bool CPhoneDevice::onBurstCapture(std::shared_ptr characteristi if (rgb.empty()) { + XYLOG(XYLOG_SEVERITY_ERROR, "Empty Mat object CH=%u IMGID=%u", (uint32_t)photoInfo.channel, (uint32_t)photoInfo.photoId); pThis->TakePhotoCb(0, photoInfo, path, takingTime); } else