Merge branch 'bugfix/fix_lwip_disable_interrupt' into 'master'

fix(lw-ip): Fix lw-ip disable interrupt which will make watchdog

See merge request sdk/ESP8266_RTOS_SDK!1504
This commit is contained in:
Dong Heng
2020-08-24 10:51:00 +08:00

View File

@ -46,7 +46,6 @@
#include "sdkconfig.h"
#include "sntp.h"
#include "netif/dhcp_state.h"
#include "driver/soc.h"
/* Enable all Espressif-only options */
@ -106,12 +105,6 @@
#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)
/**
* @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 ----------