aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h')
-rw-r--r--demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h
index f18a85f7c..d17f5dbec 100644
--- a/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F746G-DISCOVERY/chconf.h
@@ -587,7 +587,9 @@
* @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.
@@ -598,6 +600,7 @@
*/
#define CH_CFG_THREAD_INIT_HOOK(tp) { \
/* Add threads initialization code here.*/ \
+ tp->osal_delete_handler = NULL; \
}
/**