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
@ -193,6 +193,7 @@ osThreadId_t osThreadNew(osThreadFunc_t threadfunc, void *arg, const osThreadAtt
|
||||
NULL, threadfunc, prio, 0, K_NO_WAIT);
|
||||
|
||||
const char *name = (attr->name == NULL) ? init_thread_attrs.name : attr->name;
|
||||
|
||||
k_thread_name_set(&tid->z_thread, name);
|
||||
|
||||
return (osThreadId_t)tid;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user