diff --git a/contrib/rtos-helpers/FreeRTOS-openocd.c b/contrib/rtos-helpers/FreeRTOS-openocd.c index 567e710b0..81a3ab77a 100644 --- a/contrib/rtos-helpers/FreeRTOS-openocd.c +++ b/contrib/rtos-helpers/FreeRTOS-openocd.c @@ -17,4 +17,4 @@ #define USED #endif -const int USED uxTopUsedPriority = configMAX_PRIORITIES; +const int USED uxTopUsedPriority = configMAX_PRIORITIES - 1;