Skip to content

Commit

Permalink
pios_thread: Forgot to rename a #define.
Browse files Browse the repository at this point in the history
  • Loading branch information
glowtape committed Apr 15, 2018
1 parent 00a02b8 commit f4e43df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flight/PiOS/Common/pios_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ struct pios_thread *PIOS_Thread_WrapCurrentThread(const char *namep)

if (thread) {
thread->threadp = chThdGetSelfX();
#if CH_USE_REGISTRY
#if CH_CFG_USE_REGISTRY
thread->threadp->p_name = namep;
#endif /* CH_USE_REGISTRY */
}
Expand Down

0 comments on commit f4e43df

Please sign in to comment.