Skip to content

Commit d54e4b1

Browse files
committed
comment configTIMER_TASK_PRIORITY > WSF_DISPATCHER_TASK_PRIORITY
1 parent 931e257 commit d54e4b1

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • Libraries/Cordio/wsf/sources/targets/freertos

Libraries/Cordio/wsf/sources/targets/freertos/wsf_timer.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@
4141
#error Enable timers in FreeRTOSConfig.h by definiing configUSE_TIMERS as 1
4242
#endif
4343

44+
/* assuming WSF_DISPATCHER_TASK_PRIORITY is configMAX_PRIORITIES - 3 =>
45+
* require configTIMER_TASK_PRIORITY higher at configMAX_PRIORITIES - 2
46+
*/
4447
#if (configTIMER_TASK_PRIORITY != (configMAX_PRIORITIES - 2))
4548
#error "Timer task priority must be set to configMAX_PRIORITIES - 2 in FreeRTOSConfig.h"
4649
#endif

0 commit comments

Comments
 (0)