OCT 1. 修正编译开关宏定义

This commit is contained in:
huangxin 2023-02-07 11:31:14 +08:00
parent 551323c1a5
commit cbe672c073
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ static void lwip_init_env() {
cJSON *create_app_process_status(int isStart) { cJSON *create_app_process_status(int isStart) {
cJSON *pRspMsg = cJSON_CreateObject(); cJSON *pRspMsg = cJSON_CreateObject();
#ifdef USED_USER_VNI #ifdef USER_VNI
cJSON_AddNumberToObject(pRspMsg, "vni", cfg_get_user_vni_id()); cJSON_AddNumberToObject(pRspMsg, "vni", cfg_get_user_vni_id());
#endif #endif
cJSON_AddStringToObject(pRspMsg, "process", isStart ? "setup" : "exit"); cJSON_AddStringToObject(pRspMsg, "process", isStart ? "setup" : "exit");