We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00a02b8 commit 3467596Copy full SHA for 3467596
1 file changed
flight/PiOS/Common/pios_thread.c
@@ -83,8 +83,8 @@ struct pios_thread *PIOS_Thread_WrapCurrentThread(const char *namep)
83
84
if (thread) {
85
thread->threadp = chThdGetSelfX();
86
-#if CH_USE_REGISTRY
87
- thread->threadp->p_name = namep;
+#if CH_CFG_USE_REGISTRY
+ thread->threadp->name = namep;
88
#endif /* CH_USE_REGISTRY */
89
}
90
0 commit comments