不判断认证类型

N938
Matthew 6 months ago
parent 24856c5fb4
commit 7a35404099

@ -1478,8 +1478,11 @@ bool CPhoneDevice::TakePhoto(const IDevice::PHOTO_INFO& photoInfo, const vector<
GpioControl::TurnOn(CMD_SET_485_EN_STATE);
#else // USING_N938
#ifdef USING_PLZ
GpioControl::TurnOn(CMD_SET_PTZ_PWR_ENABLE);
GpioControl::TurnOn(CMD_SET_100M_ENABLE);
GpioControl::TurnOn(CMD_SET_100M_SWITCH_PWR_ENABLE);
#endif // USING_PLZ
#endif // USING_N938
}

@ -160,7 +160,7 @@ bool requestCapture(uint8_t channel, uint8_t preset, const NET_PHOTO_INFO& photo
bool res = false;
const char* userName = NULL;
const char* password = NULL;
if (photoInfo.authType != 0)
// if (photoInfo.authType != 0)
{
userName = photoInfo.userName;
password = photoInfo.password;

Loading…
Cancel
Save