1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2026-01-01 01:41:18 +01:00

Merge pull request #10194 from bergzand/pr/cord/enable_stacktest

CORD: enable THREAD_CREATE_STACKTEST for threads
This commit is contained in:
Martine Lenders 2018-10-18 14:38:29 +02:00 committed by GitHub
commit bdf820af46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -87,7 +87,8 @@ static void *_reg_runner(void *arg)
void cord_ep_standalone_run(void)
{
thread_create(_stack, sizeof(_stack), PRIO, 0, _reg_runner, NULL, TNAME);
thread_create(_stack, sizeof(_stack), PRIO, THREAD_CREATE_STACKTEST,
_reg_runner, NULL, TNAME);
}
void cord_ep_standalone_signal(bool connected)

View File

@ -53,6 +53,7 @@ static void *reg_runner(void *arg)
#ifdef MODULE_CORD_EPSIM_STANDALONE
void cord_epsim_run(void)
{
thread_create(_stack, sizeof(_stack), PRIO, 0, reg_runner, NULL, TNAME);
thread_create(_stack, sizeof(_stack), PRIO, THREAD_CREATE_STACKTEST,
reg_runner, NULL, TNAME);
}
#endif