From 792a694f66196b47e8edeac3963afd487d059086 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sun, 11 May 2025 11:55:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=BF=99=E4=B8=AA=E8=B0=83?= =?UTF-8?q?=E7=94=A8=EF=BC=8C=E7=9B=B4=E6=8E=A5=E5=85=B3=E7=94=B5=EF=BC=8C?= =?UTF-8?q?=E9=81=BF=E5=85=8D=E7=B3=BB=E7=BB=9F=E5=8D=A1=E6=AD=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/cpp/PhoneDevice.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 03d86dc4..caf3028d 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1688,7 +1688,7 @@ bool CPhoneDevice::TakePhotoWithNetCamera(IDevice::PHOTO_INFO& localPhotoInfo, c { XYLOG(XYLOG_SEVERITY_ERROR, "Vendor(%u) not Supported CH=%u PR=%X PHOTOID=%u", (uint32_t)localPhotoInfo.vendor, (uint32_t)localPhotoInfo.channel, (unsigned int)localPhotoInfo.preset, localPhotoInfo.photoId); TakePhotoCb(0, localPhotoInfo, "", 0); - ShutdownEthernet(); + // ShutdownEthernet(); return false; } @@ -1738,10 +1738,10 @@ bool CPhoneDevice::TakePhotoWithNetCamera(IDevice::PHOTO_INFO& localPhotoInfo, c std::this_thread::sleep_for(std::chrono::milliseconds(1000)); } - if (netCaptureResult) - { - ShutdownEthernet(); - } + // if (netCaptureResult) + // { + // ShutdownEthernet(); + //} ethernetPowerCtrl.reset(); XYLOG(XYLOG_SEVERITY_DEBUG, "Ethernet Power OFF");