From ddff85bc3345e5ebd4779efffa661e0ec8aeba01 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Tue, 16 Nov 2021 10:39:56 +0000 Subject: [PATCH] Missing hook re-added. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15088 27425a3e-05d8-49a3-a47f-9c15f0e5edd8 --- demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h | 3 ++- demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h index f3fe923d4..c8197f52f 100644 --- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/cfg/chconf.h @@ -704,7 +704,8 @@ * @details User fields added to the end of the @p thread_t structure. */ #define CH_CFG_THREAD_EXTRA_FIELDS \ - /* Add threads custom fields here.*/ + /* Add threads custom fields here.*/ \ + void *osal_delete_handler; /** * @brief Threads initialization hook. diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h index 5279db677..ca40a3fcf 100644 --- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h +++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/cfg/chconf.h @@ -704,7 +704,8 @@ * @details User fields added to the end of the @p thread_t structure. */ #define CH_CFG_THREAD_EXTRA_FIELDS \ - /* Add threads custom fields here.*/ + /* Add threads custom fields here.*/ \ + void *osal_delete_handler; /** * @brief Threads initialization hook.