Skip to content

Commit f4e43df

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

flight/PiOS/Common/pios_thread.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ struct pios_thread *PIOS_Thread_WrapCurrentThread(const char *namep)
8383

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

0 commit comments

Comments
 (0)