Fixed compilation issue of iwip
This commit is contained in:
parent
9edd5ad7d9
commit
82346acf6a
|
@ -27,7 +27,7 @@
|
|||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#include <at_agent.h>
|
||||
#include "at_agent.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -31,6 +31,10 @@
|
|||
#ifdef ADD_RTTHREAD_FEATURES
|
||||
#include <rtthread.h>
|
||||
#endif
|
||||
|
||||
#include "at_agent.h"
|
||||
#include "adapter.h"
|
||||
|
||||
#define AT_CMD_MAX_LEN 128
|
||||
#define AT_AGENT_MAX 2
|
||||
static char send_buf[AT_CMD_MAX_LEN];
|
||||
|
|
|
@ -58,17 +58,7 @@ struct ATAgent
|
|||
uint32 maintain_len;
|
||||
uint32 maintain_max;
|
||||
|
||||
#ifdef ADD_XIZI_FEATURES
|
||||
|
||||
#if defined(ADAPTER_GM800TF) || defined(ADAPTER_EC801E)
|
||||
pthread_mutex_t lock;
|
||||
#else
|
||||
int lock;
|
||||
#endif
|
||||
|
||||
#else // ADD_XIZI_FEATURES
|
||||
pthread_mutex_t lock;
|
||||
#endif
|
||||
|
||||
ATReplyType reply;
|
||||
char reply_lr_end;
|
||||
|
|
|
@ -32,10 +32,16 @@
|
|||
#ifndef __CC_H__
|
||||
#define __CC_H__
|
||||
|
||||
#include "stdio.h"
|
||||
// IWYU pragma: begin_exports
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "sys/time.h"
|
||||
|
||||
#include "main.h"
|
||||
|
||||
// IWYU pragma: end_exports
|
||||
|
||||
//typedef unsigned char u8_t;
|
||||
//typedef signed char s8_t;
|
||||
//typedef unsigned short u16_t;
|
||||
|
|
Loading…
Reference in New Issue