mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-17 10:49:47 +00: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:
1 parent
9884241df8
commit
b4fbaf7c13
2 files changed
+4
-2
No files matched your search
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user