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 3467596
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flight/PiOS/Common/pios_thread.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ struct pios_thread *PIOS_Thread_WrapCurrentThread(const char *namep)

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

Expand Down

0 comments on commit 3467596

Please sign in to comment.