Merge pull request #164 from DavidLin1577/patch-4

Update esp8266_evtdrv.h
This commit is contained in:
Supowang
2020-06-08 10:23:15 +08:00
committed by GitHub
3 changed files with 16 additions and 16 deletions

View File

@@ -15,8 +15,8 @@
* within TencentOS. * within TencentOS.
*---------------------------------------------------------------------------*/ *---------------------------------------------------------------------------*/
#ifndef _TOS_AT_H_ #ifndef _TOS_AT_EVTDRV_H_
#define _TOS_AT_H_ #define _TOS_AT_EVTDRV_H_
#include "tos_evtdrv.h" #include "tos_evtdrv.h"
#include "tos_at_utils_evtdrv.h" #include "tos_at_utils_evtdrv.h"
@@ -401,5 +401,5 @@ const char *tos_at_agent_channel_port_get(int channel_id);
evtdrv_event_flag_t tos_at_evtdrv_task(evtdrv_event_flag_t event); evtdrv_event_flag_t tos_at_evtdrv_task(evtdrv_event_flag_t event);
#endif /* __AT_AGENT_H_ */ #endif /* _TOS_AT_EVTDRV_H_ */

View File

@@ -1,5 +1,5 @@
#ifndef _TOS_AT_UTILS_H_ #ifndef _TOS_AT_UTILS_EVTDRV_H_
#define _TOS_AT_UTILS_H_ #define _TOS_AT_UTILS_EVTDRV_H_
typedef struct at_timer_st { typedef struct at_timer_st {
evtdrv_tick_t end_time; evtdrv_tick_t end_time;
@@ -19,5 +19,5 @@ evtdrv_tick_t at_timer_remain(at_timer_t *tmr);
void at_timer_init(at_timer_t *tmr); void at_timer_init(at_timer_t *tmr);
#endif #endif//_TOS_AT_UTILS_EVTDRV_H_

View File

@@ -15,8 +15,8 @@
* within TencentOS. * within TencentOS.
*---------------------------------------------------------------------------*/ *---------------------------------------------------------------------------*/
#ifndef __ESP8266_H__ #ifndef __ESP8266_EVTDRV_H__
#define __ESP8266_H__ #define __ESP8266_EVTDRV_H__
#include "tos_evtdrv.h" #include "tos_evtdrv.h"
#include "tos_hal.h" #include "tos_hal.h"
@@ -130,5 +130,5 @@ int esp8266_join_ap(const char *ssid, const char *pwd);
evtdrv_event_flag_t esp8266_task(evtdrv_event_flag_t event); evtdrv_event_flag_t esp8266_task(evtdrv_event_flag_t event);
#endif /* __ESP8266_H__ */ #endif /* __ESP8266_EVTDRV_H__ */