优化日志

streaming
Matthew 4 months ago
parent 6be75f4a8e
commit dc692d05b1

@ -1511,7 +1511,7 @@ bool CPhoneDevice::TakePhotoWithNetCamera(IDevice::PHOTO_INFO& localPhotoInfo, c
std::this_thread::sleep_for(std::chrono::milliseconds(waitTime));
}
XYLOG(XYLOG_SEVERITY_ERROR, "Ethernet Power ON");
XYLOG(XYLOG_SEVERITY_DEBUG, "Ethernet Power ON");
std::shared_ptr<PowerControl> ethernetPowerCtrl = std::make_shared<EthernetPowerCtrl>(1);
std::this_thread::sleep_for(std::chrono::milliseconds(100));
SetStaticIp();
@ -1622,6 +1622,7 @@ bool CPhoneDevice::TakePhotoWithNetCamera(IDevice::PHOTO_INFO& localPhotoInfo, c
}
ethernetPowerCtrl.reset();
XYLOG(XYLOG_SEVERITY_DEBUG, "Ethernet Power OFF");
cv::Mat rgb;
if (netCaptureResult && !img.empty())

Loading…
Cancel
Save