aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/oslib/src
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-09-26 08:46:17 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-09-26 08:46:17 +0000
commit85621dde08560b98cb82dceebb2c52dd44e672cc (patch)
treef720cc92d01af8143e10e12dd1ed32a290676039 /os/common/oslib/src
parent3864014e03b6c411613e50e90617f49c016c5aaa (diff)
downloadChibiOS-85621dde08560b98cb82dceebb2c52dd44e672cc.tar.gz
ChibiOS-85621dde08560b98cb82dceebb2c52dd44e672cc.tar.bz2
ChibiOS-85621dde08560b98cb82dceebb2c52dd44e672cc.zip
More renaming.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10716 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/oslib/src')
-rw-r--r--os/common/oslib/src/chfactory.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/os/common/oslib/src/chfactory.c b/os/common/oslib/src/chfactory.c
index c4e6268d9..22a643574 100644
--- a/os/common/oslib/src/chfactory.c
+++ b/os/common/oslib/src/chfactory.c
@@ -119,7 +119,7 @@ static dyn_element_t *dyn_list_unlink(dyn_list_t *dlp, dyn_element_t *element) {
*/
void _factory_init(void) {
-#if CH_CFG_FACTORY_GENERIC == TRUE
+#if CH_CFG_FACTORY_GENERIC_BUFFER == TRUE
dyn_list_init(&ch_factory.obj_list);
#endif
#if CH_CFG_FACTORY_SEMAPHORES == TRUE
@@ -130,7 +130,7 @@ void _factory_init(void) {
#endif
}
-#if (CH_CFG_FACTORY_GENERIC == TRUE) || defined(__DOXIGEN__)
+#if (CH_CFG_FACTORY_GENERIC_BUFFER == TRUE) || defined(__DOXIGEN__)
/**
* @brief Creates a generic dynamic buffer object.
* @post A reference to the buffer object is returned and the reference
@@ -247,7 +247,7 @@ void chFactoryReleaseBuffer(dyn_buffer_t *dbp) {
chSysUnlock();
}
-#endif /* CH_CFG_FACTORY_GENERIC = TRUE */
+#endif /* CH_CFG_FACTORY_GENERIC_BUFFER = TRUE */
#if (CH_CFG_FACTORY_SEMAPHORES == TRUE) || defined(__DOXIGEN__)
/**