From cc61794d1a00a74f31c650522988a2f327b6cfab Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 1 Oct 2017 19:05:00 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10740 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/oslib/src/chfactory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os') diff --git a/os/common/oslib/src/chfactory.c b/os/common/oslib/src/chfactory.c index 501f7e59d..2d208d0c4 100644 --- a/os/common/oslib/src/chfactory.c +++ b/os/common/oslib/src/chfactory.c @@ -235,7 +235,7 @@ void _factory_init(void) { dyn_list_init(&ch_factory.obj_list); chPoolObjectInit(&ch_factory.obj_pool, sizeof (registered_object_t), - chCoreAllocAlignedI); + chCoreAllocAlignedWithOffsetI); #endif #if CH_CFG_FACTORY_GENERIC_BUFFERS == TRUE dyn_list_init(&ch_factory.buf_list); @@ -244,7 +244,7 @@ void _factory_init(void) { dyn_list_init(&ch_factory.sem_list); chPoolObjectInit(&ch_factory.sem_pool, sizeof (dyn_semaphore_t), - chCoreAllocAlignedI); + chCoreAllocAlignedWithOffsetI); #endif } -- cgit v1.2.3