From 67033034afddd5b3c7229d8ff219312d93545031 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sun, 11 Aug 2024 14:59:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E6=96=87=E4=BB=B6=E5=90=8D?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/PhoneDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index b2185b11..b918767f 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1593,7 +1593,7 @@ bool CPhoneDevice::OnImageReady(cv::Mat& mat) { shouldRetry = true; // replaceAll(fullPath, ".jpg", std::string("-") + std::to_string(mPhotoInfo.retries) + ".jpg"); - replaceAll(fullPath, "_FF_", std::to_string(mPhotoInfo.retries)); + replaceAll(fullPath, "_FF_", std::string("_") + std::to_string(mPhotoInfo.retries) + std::string("_")); XYLOG(XYLOG_SEVERITY_ERROR, "Photo is TOO dark or light(LDR=%u), will RETRY it", (uint32_t)captureResult.avgY); }