From 4ca8e83188c607419b9377c640137f3e5547b51f 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 cf24a6a9..789a8a0c 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -2256,6 +2256,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; } @@ -2706,6 +2707,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 @@ -3028,6 +3030,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