mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-15 08:32:42 +08:00
fix(lwip): Fix lwip disable interrupt which will make watchdog
This commit is contained in:
@ -46,7 +46,6 @@
|
|||||||
#include "sdkconfig.h"
|
#include "sdkconfig.h"
|
||||||
#include "sntp.h"
|
#include "sntp.h"
|
||||||
#include "netif/dhcp_state.h"
|
#include "netif/dhcp_state.h"
|
||||||
#include "driver/soc.h"
|
|
||||||
|
|
||||||
/* Enable all Espressif-only options */
|
/* Enable all Espressif-only options */
|
||||||
|
|
||||||
@ -106,12 +105,6 @@
|
|||||||
#define mem_clib_malloc(s) heap_caps_malloc(s, MALLOC_CAP_8BIT)
|
#define mem_clib_malloc(s) heap_caps_malloc(s, MALLOC_CAP_8BIT)
|
||||||
#define mem_clib_calloc(n, s) heap_caps_calloc(n, s, MALLOC_CAP_8BIT)
|
#define mem_clib_calloc(n, s) heap_caps_calloc(n, s, MALLOC_CAP_8BIT)
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief System
|
|
||||||
*/
|
|
||||||
#define SYS_ARCH_DECL_PROTECT(_lev) esp_irqflag_t _lev
|
|
||||||
#define SYS_ARCH_PROTECT(_lev) _lev = soc_save_local_irq()
|
|
||||||
#define SYS_ARCH_UNPROTECT(_lev) soc_restore_local_irq(_lev)
|
|
||||||
/*
|
/*
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
---------- Internal Memory Pool Sizes ----------
|
---------- Internal Memory Pool Sizes ----------
|
||||||
|
Reference in New Issue
Block a user