From eaaa4a5ab314618d729519cc18223de08f1fe5a3 Mon Sep 17 00:00:00 2001 From: David Goffredo Date: Tue, 20 Aug 2024 14:03:46 -0400 Subject: [PATCH] typo in documentation of __time_critical_func (#1792) I was reading through my PDF copy of the SDK docs, and I think that there's a typo in this example. The macro is `__time_critical_func` but the example spells it `__time_critical`. --- .../pico_platform_sections/include/pico/platform/sections.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rp2_common/pico_platform_sections/include/pico/platform/sections.h b/src/rp2_common/pico_platform_sections/include/pico/platform/sections.h index 752e752a..e8570029 100644 --- a/src/rp2_common/pico_platform_sections/include/pico/platform/sections.h +++ b/src/rp2_common/pico_platform_sections/include/pico/platform/sections.h @@ -143,7 +143,7 @@ * * For example a function called my_func taking an int parameter: * - * void __time_critical(my_func)(int some_arg) { + * void __time_critical_func(my_func)(int some_arg) { * * The function is placed in the `.time_critical.` linker section *