diff --git a/app/src/main/cpp/PhoneDevice.cpp b/app/src/main/cpp/PhoneDevice.cpp index 069f3bc7..02f66d76 100644 --- a/app/src/main/cpp/PhoneDevice.cpp +++ b/app/src/main/cpp/PhoneDevice.cpp @@ -1612,7 +1612,7 @@ bool CPhoneDevice::TakePhotoWithNetCamera(IDevice::PHOTO_INFO& localPhotoInfo, c std::this_thread::sleep_for(std::chrono::milliseconds(5000)); net_handle_t netHandle = 0; -#if (!(defined USING_N938 && defined USING_PTZ)) +#if ((!defined USING_N938) && (!defined USING_PTZ)) // Wait about 10s for (int idx = 0; idx < 84; idx++) {