aboutsummaryrefslogtreecommitdiffstats
path: root/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-07-15 06:06:43 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-07-15 06:06:43 +0000
commitb2d83a917de7f50bf26b5c53866e467f156744e3 (patch)
tree9a2b2b4653837e699175209c3533dda86b585520 /demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
parent5cc620c9c1b128b594fb3bb3a8329d4bf2758802 (diff)
downloadChibiOS-b2d83a917de7f50bf26b5c53866e467f156744e3.tar.gz
ChibiOS-b2d83a917de7f50bf26b5c53866e467f156744e3.tar.bz2
ChibiOS-b2d83a917de7f50bf26b5c53866e467f156744e3.zip
Fixed bug #961.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12164 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h')
-rw-r--r--demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
index 0a39bdd08..3bbc9d2f4 100644
--- a/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
+++ b/demos/STM32/NASA-OSAL-STM32F407-DISCOVERY/chconf.h
@@ -572,7 +572,6 @@
*/
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
/* Add threads custom fields here.*/
-
/**
* @brief System initialization hook.
* @details User initialization code added to the @p chSysInit() function
@@ -587,7 +586,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 +599,7 @@
*/
#define CH_CFG_THREAD_INIT_HOOK(tp) { \
/* Add threads initialization code here.*/ \
+ tp->osal_delete_handler = NULL; \
}
/**