tcpip.c tcpip_send_api_msg: Handle core locking case internally

This commit is contained in:
Dirk Ziegelmeier
2016-03-16 20:14:52 +01:00
parent bc51dddcaf
commit ea174560b1
2 changed files with 15 additions and 9 deletions

View File

@@ -95,9 +95,7 @@ extern sys_mutex_t lock_tcpip_core;
#define API_EXPR_DEREF(expr) *(expr)
#endif /* LWIP_MPU_COMPATIBLE */
#if !LWIP_TCPIP_CORE_LOCKING
err_t tcpip_send_api_msg(tcpip_callback_fn fn, void *apimsg, sys_sem_t* sem);
#endif /* !LWIP_TCPIP_CORE_LOCKING */
struct tcpip_api_call;
typedef err_t (*tcpip_api_call_fn)(struct tcpip_api_call* call);