subsys/portability/cmsis_rtos_v2: Fix code compliance issues
Fix issues detected by checkpatch Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
This commit is contained in:
parent
44699baff5
commit
bb085820fc
1 changed files with 1 additions and 0 deletions
|
@ -193,6 +193,7 @@ osThreadId_t osThreadNew(osThreadFunc_t threadfunc, void *arg, const osThreadAtt
|
||||||
NULL, threadfunc, prio, 0, K_NO_WAIT);
|
NULL, threadfunc, prio, 0, K_NO_WAIT);
|
||||||
|
|
||||||
const char *name = (attr->name == NULL) ? init_thread_attrs.name : attr->name;
|
const char *name = (attr->name == NULL) ? init_thread_attrs.name : attr->name;
|
||||||
|
|
||||||
k_thread_name_set(&tid->z_thread, name);
|
k_thread_name_set(&tid->z_thread, name);
|
||||||
|
|
||||||
return (osThreadId_t)tid;
|
return (osThreadId_t)tid;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue