mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-02 02:10:19 +08:00
feat(esp8266): Remove critical from WIFI OSI
This commit is contained in:
@ -37,8 +37,6 @@ extern "C" {
|
||||
|
||||
typedef struct {
|
||||
int32_t version;
|
||||
uint32_t (*enter_critical)(void);
|
||||
void (*exit_critical)(uint32_t tmp);
|
||||
|
||||
void *(*task_create)(void *task_func, const char *name, uint32_t stack_depth, void *param, uint32_t prio);
|
||||
void (*task_delete)(void *task_handle);
|
||||
|
@ -23,12 +23,6 @@ extern "C" {
|
||||
|
||||
extern wifi_osi_funcs_t s_wifi_osi_funcs;
|
||||
|
||||
#define wifi_enter_critical(t) \
|
||||
t = s_wifi_osi_funcs.enter_critical()
|
||||
|
||||
#define wifi_exit_critical(t) \
|
||||
s_wifi_osi_funcs.exit_critical(t)
|
||||
|
||||
#define wifi_task_create(func, name, depth, param, pri) \
|
||||
s_wifi_osi_funcs.task_create(func, name, depth, param, pri)
|
||||
|
||||
|
Reference in New Issue
Block a user