From fef782f7354e1c288b00bddcab0a35aa709b86c4 Mon Sep 17 00:00:00 2001 From: chrysn Date: Thu, 20 Jan 2022 14:18:40 +0100 Subject: [PATCH] core/thread doc: Point to helper function --- core/include/thread.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/include/thread.h b/core/include/thread.h index ca75c3f689..1a67398424 100644 --- a/core/include/thread.h +++ b/core/include/thread.h @@ -444,7 +444,7 @@ const char *thread_getname(kernel_pid_t pid); * * Only works if the thread was created with the flag THREAD_CREATE_STACKTEST. * - * @param[in] stack the stack you want to measure. Try `thread_get_active()->stack_start` + * @param[in] stack the stack you want to measure. Try `thread_get_stackstart(thread_get_active())` * * @return the amount of unused space of the thread's stack */