feat(esp8266): support wpa_supplicant sync with idf

This commit is contained in:
Li Jingyi
2020-07-21 17:53:18 +08:00
parent 744f2cfec8
commit d5f01ec4be
2 changed files with 54 additions and 0 deletions

View File

@ -174,6 +174,16 @@ void os_timer_arm(os_timer_t *ptimer, uint32_t msec, bool repeat_flag);
*/
void os_timer_disarm(os_timer_t *ptimer);
/* redefine esp-idf name to esp8266 */
#define ets_delay_us os_delay_us
#define ETSTimer os_timer_t
#define ETSTimerFunc os_timer_func_t
#define ets_timer_disarm os_timer_disarm
#define ets_timer_setfn os_timer_setfn
#define ets_timer_arm os_timer_arm
void ets_timer_done(os_timer_t *ptimer);
/**
* @}
*/