Skip to content

Commit

Permalink
Release v10.2.1_20200117
Browse files Browse the repository at this point in the history
  • Loading branch information
ALABSTM committed Jul 14, 2020
1 parent 6ec3955 commit c239f63
Show file tree
Hide file tree
Showing 153 changed files with 21,013 additions and 2,127 deletions.
2 changes: 1 addition & 1 deletion License/license.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ source file.
License text:
-------------

Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Copyright (C) 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ In the case of the FreeRTOS, this correspondence is particular to the CMSIS-RTOS
FreeRTOS | CMSIS Core |
-------- | ---------- |
Tag v10.0.1 | Tag v5.4.0
Tag v10.2.1 | Tag v5.4.0

## Troubleshooting

Expand Down
8 changes: 4 additions & 4 deletions Source/CMSIS_RTOS/cmsis_os.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,29 +364,29 @@ osTimerId osTimerCreate (const osTimerDef_t *timer_def, os_timer_type type, void
1, // period should be filled when starting the Timer using osTimerStart
(type == osTimerPeriodic) ? pdTRUE : pdFALSE,
(void *) argument,
(TaskFunction_t)timer_def->ptimer,
(TimerCallbackFunction_t)timer_def->ptimer,
(StaticTimer_t *)timer_def->controlblock);
}
else {
return xTimerCreate((const char *)"",
1, // period should be filled when starting the Timer using osTimerStart
(type == osTimerPeriodic) ? pdTRUE : pdFALSE,
(void *) argument,
(TaskFunction_t)timer_def->ptimer);
(TimerCallbackFunction_t)timer_def->ptimer);
}
#elif( configSUPPORT_STATIC_ALLOCATION == 1 )
return xTimerCreateStatic((const char *)"",
1, // period should be filled when starting the Timer using osTimerStart
(type == osTimerPeriodic) ? pdTRUE : pdFALSE,
(void *) argument,
(TaskFunction_t)timer_def->ptimer,
(TimerCallbackFunction_t)timer_def->ptimer,
(StaticTimer_t *)timer_def->controlblock);
#else
return xTimerCreate((const char *)"",
1, // period should be filled when starting the Timer using osTimerStart
(type == osTimerPeriodic) ? pdTRUE : pdFALSE,
(void *) argument,
(TaskFunction_t)timer_def->ptimer);
(TimerCallbackFunction_t)timer_def->ptimer);
#endif

#else
Expand Down

0 comments on commit c239f63

Please sign in to comment.