Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e83e0ce

Browse filesBrowse files
committed
Update to FreeRTOS 10.2.1 sources modified by ST
https://github.com/STMicroelectronics/stm32_mw_freertos/releases/tag/v10.2.1 Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 79c8263 commit e83e0ce
Copy full SHA for e83e0ce

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

83 files changed

+11338
-1629
lines changed

‎portable/CMSIS_RTOS/cmsis_os.c

Copy file name to clipboardExpand all lines: portable/CMSIS_RTOS/cmsis_os.c
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -364,29 +364,29 @@ osTimerId osTimerCreate (const osTimerDef_t *timer_def, os_timer_type type, void
364364
1, // period should be filled when starting the Timer using osTimerStart
365365
(type == osTimerPeriodic) ? pdTRUE : pdFALSE,
366366
(void *) argument,
367-
(TaskFunction_t)timer_def->ptimer,
367+
(TimerCallbackFunction_t)timer_def->ptimer,
368368
(StaticTimer_t *)timer_def->controlblock);
369369
}
370370
else {
371371
return xTimerCreate((const char *)"",
372372
1, // period should be filled when starting the Timer using osTimerStart
373373
(type == osTimerPeriodic) ? pdTRUE : pdFALSE,
374374
(void *) argument,
375-
(TaskFunction_t)timer_def->ptimer);
375+
(TimerCallbackFunction_t)timer_def->ptimer);
376376
}
377377
#elif( configSUPPORT_STATIC_ALLOCATION == 1 )
378378
return xTimerCreateStatic((const char *)"",
379379
1, // period should be filled when starting the Timer using osTimerStart
380380
(type == osTimerPeriodic) ? pdTRUE : pdFALSE,
381381
(void *) argument,
382-
(TaskFunction_t)timer_def->ptimer,
382+
(TimerCallbackFunction_t)timer_def->ptimer,
383383
(StaticTimer_t *)timer_def->controlblock);
384384
#else
385385
return xTimerCreate((const char *)"",
386386
1, // period should be filled when starting the Timer using osTimerStart
387387
(type == osTimerPeriodic) ? pdTRUE : pdFALSE,
388388
(void *) argument,
389-
(TaskFunction_t)timer_def->ptimer);
389+
(TimerCallbackFunction_t)timer_def->ptimer);
390390
#endif
391391

392392
#else

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.