From 3467596a3be303e4a73b8a0f195280f58dde7dcd Mon Sep 17 00:00:00 2001 From: Mario Goebbels Date: Sun, 15 Apr 2018 02:28:04 +0200 Subject: [PATCH] pios_thread: Forgot to rename a #define. --- flight/PiOS/Common/pios_thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flight/PiOS/Common/pios_thread.c b/flight/PiOS/Common/pios_thread.c index b7f6f42ad9..217009fb74 100644 --- a/flight/PiOS/Common/pios_thread.c +++ b/flight/PiOS/Common/pios_thread.c @@ -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 */ }