修改result类型

hdrplus
陈曦 7 months ago
parent a15a0f6ed6
commit a71841c725

@ -498,7 +498,6 @@ void CPhoneDevice::SetListener(IListener* listener)
void CPhoneDevice::SetRecognizationCfg(const IDevice::CFG_RECOGNIZATION* pRecognizationCfg)
{
return;
if (m_pRecognizationCfg == NULL && pRecognizationCfg != NULL && (pRecognizationCfg->enabled != 0))
{
// TODO
@ -1414,7 +1413,7 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<
// std::this_thread::sleep_for(std::chrono::seconds(2));
time_t ts = time(NULL);
CameraPhotoCmd(ts, photoInfo.channel, 0, 6, 0);
TakePTZPhotoCb(2, photoInfo);
TakePTZPhotoCb(3, photoInfo);
}
return true;
#else

Loading…
Cancel
Save