aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/abstractions/cmsis_os/cmsis_os.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/abstractions/cmsis_os/cmsis_os.c')
-rw-r--r--os/common/abstractions/cmsis_os/cmsis_os.c2
1 files changed, 1 insertions, 1 deletions
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;