mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-28 07:28:13 +08:00
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
This commit is contained in:
parent
9884241df8
commit
b4fbaf7c13
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user