From af9a80ef87a72e6a67e796ef7df52d675a386517 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 1 Jul 2017 20:38:11 +0000 Subject: Fixed bug #846. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10277 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/abstractions/cmsis_os/cmsis_os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os') diff --git a/os/common/abstractions/cmsis_os/cmsis_os.c b/os/common/abstractions/cmsis_os/cmsis_os.c index eded466dc..3af580ee0 100644 --- a/os/common/abstractions/cmsis_os/cmsis_os.c +++ b/os/common/abstractions/cmsis_os/cmsis_os.c @@ -91,7 +91,7 @@ osStatus osKernelInitialize(void) { chPoolObjectInit(&sempool, sizeof(semaphore_t), chCoreAllocAligned); chPoolLoadArray(&sempool, semaphores, CMSIS_CFG_NUM_SEMAPHORES); - chPoolObjectInit(&timpool, sizeof(virtual_timer_t), chCoreAllocAligned); + chPoolObjectInit(&timpool, sizeof(struct os_timer_cb), chCoreAllocAligned); chPoolLoadArray(&timpool, timers, CMSIS_CFG_NUM_TIMERS); return osOK; -- cgit v1.2.3