Skip to content

Commit

Permalink
Fix locking in lwip net_if
Browse files Browse the repository at this point in the history
Was not being enabled when it should have been.

CL: Fix locking in lwip net_if

PUBLISHED_FROM=4810e73417c7599f0ea08a09812ed320d02f7cae
  • Loading branch information
Deomid Ryabkov authored and cesantabot committed Apr 23, 2019
1 parent 294859a commit 42530d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion common/platforms/lwip/mg_lwip_net_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 42530d0

Please sign in to comment.