forked from Imagelibrary/lwip
Fixed usages of SYS_SEM_NULL after using pointers everywhere
This commit is contained in:
@@ -382,7 +382,7 @@ tcpip_apimsg(struct api_msg *apimsg)
|
||||
#if LWIP_NETCONN_SEM_PER_THREAD
|
||||
apimsg->msg.op_completed_sem = LWIP_NETCONN_THREAD_SEM_GET();
|
||||
LWIP_ASSERT("netconn semaphore not initialized",
|
||||
apimsg->msg.op_completed_sem != SYS_SEM_NULL);
|
||||
sys_sem_valid(apimsg->msg.op_completed_sem));
|
||||
#endif
|
||||
sys_mbox_post(&mbox, &TCPIP_MSG_VAR_REF(msg));
|
||||
sys_arch_sem_wait(LWIP_API_MSG_SEM(&apimsg->msg), 0);
|
||||
|
||||
Reference in New Issue
Block a user