From 45b22c5ef068d5ad6c63002af766fbf97e582694 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20=C4=8Cerm=C3=A1k?= Date: Wed, 30 Aug 2023 10:13:08 +0800 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- components/lwip/port/include/lwipopts.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/lwip/port/include/lwipopts.h b/components/lwip/port/include/lwipopts.h index aca3b62580..7dca4af288 100644 --- a/components/lwip/port/include/lwipopts.h +++ b/components/lwip/port/include/lwipopts.h @@ -45,6 +45,8 @@ extern "C" { #define LWIP_TCPIP_CORE_LOCKING 1 #ifdef CONFIG_LWIP_TCPIP_CORE_LOCKING_INPUT #define LWIP_TCPIP_CORE_LOCKING_INPUT 1 +#else +#define LWIP_TCPIP_CORE_LOCKING_INPUT 0 #endif #define LOCK_TCPIP_CORE() do { sys_mutex_lock(&lock_tcpip_core); sys_thread_tcpip(LWIP_CORE_LOCK_MARK_HOLDER); } while(0) #define UNLOCK_TCPIP_CORE() do { sys_thread_tcpip(LWIP_CORE_LOCK_UNMARK_HOLDER); sys_mutex_unlock(&lock_tcpip_core); } while(0)