Skip to content

Commit ed401f1

Browse files
committed
timer task config
1 parent c222529 commit ed401f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/FreeRTOSConfig.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@
7676

7777
/* Timer definitions. */
7878
#define configUSE_TIMERS 1
79-
#define configTIMER_TASK_PRIORITY ( ( UBaseType_t ) 3 )
80-
#define configTIMER_QUEUE_LENGTH ( ( UBaseType_t ) 10 )
79+
#define configTIMER_TASK_PRIORITY configMAX_PRIORITIES-1
80+
#define configTIMER_QUEUE_LENGTH ( 10 )
8181
#define configTIMER_TASK_STACK_DEPTH ( 85 )
8282

8383
/* Set the stack depth type to be uint16_t. */

0 commit comments

Comments
 (0)