Skip to content

Commit 3467596

Browse files
committed
pios_thread: Forgot to rename a #define.
1 parent 00a02b8 commit 3467596

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

flight/PiOS/Common/pios_thread.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ struct pios_thread *PIOS_Thread_WrapCurrentThread(const char *namep)
8383

8484
if (thread) {
8585
thread->threadp = chThdGetSelfX();
86-
#if CH_USE_REGISTRY
87-
thread->threadp->p_name = namep;
86+
#if CH_CFG_USE_REGISTRY
87+
thread->threadp->name = namep;
8888
#endif /* CH_USE_REGISTRY */
8989
}
9090

0 commit comments

Comments
 (0)