aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2017-07-01 20:38:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2017-07-01 20:38:11 +0000
commitaf9a80ef87a72e6a67e796ef7df52d675a386517 (patch)
tree097869a7212930c1021fc102b807410a9b580b87 /os
parentca841be38745f735407c73c76dbc447b0974ab64 (diff)
downloadChibiOS-af9a80ef87a72e6a67e796ef7df52d675a386517.tar.gz
ChibiOS-af9a80ef87a72e6a67e796ef7df52d675a386517.tar.bz2
ChibiOS-af9a80ef87a72e6a67e796ef7df52d675a386517.zip
Fixed bug #846.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10277 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-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;