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