diff --git a/app/src/main/cpp/CMakeLists.txt b/app/src/main/cpp/CMakeLists.txt index 03c4e22d..9d18a0af 100644 --- a/app/src/main/cpp/CMakeLists.txt +++ b/app/src/main/cpp/CMakeLists.txt @@ -21,7 +21,7 @@ if(ANDROID_ABI STREQUAL "armeabi-v7a") add_definitions(-DUSING_N938) elseif(ANDROID_ABI STREQUAL "arm64-v8a") # add_definitions(-DUSING_N938) - # add_definitions(-DUSING_PLZ) + add_definitions(-DUSING_PLZ) endif() # OUTPUT_DBG_INFO: 输出调试相关信息 diff --git a/app/src/main/cpp/GPIOControl.h b/app/src/main/cpp/GPIOControl.h index 1f23437b..7c02046d 100644 --- a/app/src/main/cpp/GPIOControl.h +++ b/app/src/main/cpp/GPIOControl.h @@ -51,6 +51,9 @@ #define CMD_SET_3V3_PWR_EN 132 #endif +#define CMD_GET_CAMERA_STATUS 310 +#define CMD_SET_INIT_STATUS 401 + #else // defined(USING_PLZ) #define CMD_SET_OTG_STATE 107 @@ -100,6 +103,9 @@ #define CMD_SET_LIGHT1_RESISTOR_ENABLE 524 #define CMD_SET_100M_RESET 526 +#define CMD_GET_CAMERA_STATUS 310 +#define CMD_SET_INIT_STATUS 401 + #endif // USING_PLZ #else // defined(USING_N938)