From 6a7295d9c3eac8c933536e29d4a7c00f29fbd9a0 Mon Sep 17 00:00:00 2001 From: Matthew Date: Thu, 16 Jan 2025 20:59:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E7=BD=91=E7=BB=9C=E6=8B=8D?= =?UTF-8?q?=E7=85=A7=E5=BB=B6=E6=97=B6=E5=85=B3=E9=97=AD=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/PhoneDevice.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 7faf19f0..549b4e8a 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1706,12 +1706,12 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector< { if (photoInfo.retries > 0) { - std::this_thread::sleep_for(std::chrono::seconds(1)); + std::this_thread::sleep_for(std::chrono::seconds(3)); } if(mPhotoInfo.scheduleTime == 0) powerCtrlPtr = std::shared_ptr(new NetCameraPowerCtrl(mPhotoInfo.closeDelayTime)); else - powerCtrlPtr = std::shared_ptr(new NetCameraPowerCtrl(0)); + powerCtrlPtr = std::shared_ptr(new NetCameraPowerCtrl(2)); } else if (photoInfo.cameraType == CAM_TYPE_PLZ) {