From 85621dde08560b98cb82dceebb2c52dd44e672cc Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio <gdisirio@gmail.com> Date: Tue, 26 Sep 2017 08:46:17 +0000 Subject: More renaming. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10716 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/oslib/src/chfactory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'os/common/oslib/src') 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__) /** -- cgit v1.2.3