1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00

Merge pull request #2942 from OlegHahm/udp_create_stacktest

ng_udp: add CREATE_STACKTEST to thread creation
This commit is contained in:
Martine Lenders 2015-05-09 18:33:16 +02:00
commit 5590d2bda6

View File

@ -263,8 +263,8 @@ int ng_udp_init(void)
/* check if thread is already running */
if (_pid == KERNEL_PID_UNDEF) {
/* start UDP thread */
_pid = thread_create(_stack, sizeof(_stack), NG_UDP_PRIO, 0,
_event_loop, NULL, "udp");
_pid = thread_create(_stack, sizeof(_stack), NG_UDP_PRIO,
CREATE_STACKTEST, _event_loop, NULL, "udp");
}
return _pid;
}