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

Loading…
Cancel
Save