Commit b4fbaf7c authored by Deomid Ryabkov's avatar Deomid Ryabkov Committed by Cesanta Bot

Fix locking in lwip net_if

Was not being enabled when it should have been.

CL: Fix locking in lwip net_if

PUBLISHED_FROM=4810e73417c7599f0ea08a09812ed320d02f7cae
parent 9884241d
......@@ -15309,7 +15309,8 @@ void mg_lwip_if_add_conn(struct mg_connection *nc);
void mg_lwip_if_remove_conn(struct mg_connection *nc);
time_t mg_lwip_if_poll(struct mg_iface *iface, int timeout_ms);
#if defined(RTOS_SDK) || defined(ESP_PLATFORM)
// If compiling for Mongoose OS.
#ifdef MGOS_HAVE_CORE
extern void mgos_lock();
extern void mgos_unlock();
#else
......
......@@ -102,7 +102,8 @@ void mg_lwip_if_add_conn(struct mg_connection *nc);
void mg_lwip_if_remove_conn(struct mg_connection *nc);
time_t mg_lwip_if_poll(struct mg_iface *iface, int timeout_ms);
#if defined(RTOS_SDK) || defined(ESP_PLATFORM)
// If compiling for Mongoose OS.
#ifdef MGOS_HAVE_CORE
extern void mgos_lock();
extern void mgos_unlock();
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment