diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index d487d119..b5a38e09 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -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 } diff --git a/app/src/main/cpp/netcamera/httpclient.cpp b/app/src/main/cpp/netcamera/httpclient.cpp index ddb325d1..b5d256c9 100644 --- a/app/src/main/cpp/netcamera/httpclient.cpp +++ b/app/src/main/cpp/netcamera/httpclient.cpp @@ -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;