|
|
@ -1797,7 +1797,7 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<
|
|
|
|
pThis->ClosePTZSensors(localPhotoInfo.closeDelayTime);
|
|
|
|
pThis->ClosePTZSensors(localPhotoInfo.closeDelayTime);
|
|
|
|
GpioControl::setCam3V3Enable(false, localPhotoInfo.closeDelayTime);
|
|
|
|
GpioControl::setCam3V3Enable(false, localPhotoInfo.closeDelayTime);
|
|
|
|
|
|
|
|
|
|
|
|
time_t takingTime = time(NULL);
|
|
|
|
time_t takingTime = ts;
|
|
|
|
if (localPhotoInfo.remedy != 0)
|
|
|
|
if (localPhotoInfo.remedy != 0)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if ((takingTime - localPhotoInfo.scheduleTime) > 30)
|
|
|
|
if ((takingTime - localPhotoInfo.scheduleTime) > 30)
|
|
|
|