git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10740 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
503ba8f374
commit
cc61794d1a
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue