mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #16740 from benpicco/lwip_tcp-DEVELHELP
lwip_tcp: fix build with DEVELHELP=0
This commit is contained in:
commit
c1d28d69a7
@ -224,7 +224,6 @@ sys_thread_t sys_thread_new(const char *name, lwip_thread_fn thread, void *arg,
|
||||
return res;
|
||||
}
|
||||
|
||||
#ifdef DEVELHELP
|
||||
static kernel_pid_t lwip_tcpip_thread = KERNEL_PID_UNDEF;
|
||||
static kernel_pid_t lwip_lock_thread;
|
||||
|
||||
@ -252,6 +251,5 @@ bool sys_check_core_locked(void) {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
@ -116,7 +116,6 @@ static inline void sys_mbox_set_invalid(sys_mbox_t *mbox)
|
||||
|
||||
typedef kernel_pid_t sys_thread_t; /**< Platform specific thread type */
|
||||
|
||||
#if DEVELHELP
|
||||
/**
|
||||
* @name Functions for locking/unlocking core to assure thread safety.
|
||||
* @{
|
||||
@ -126,7 +125,6 @@ void sys_lock_tcpip_core(void);
|
||||
void sys_unlock_tcpip_core(void);
|
||||
#define UNLOCK_TCPIP_CORE() sys_unlock_tcpip_core()
|
||||
/** @} */
|
||||
#endif
|
||||
|
||||
#ifdef MODULE_RANDOM
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user