X-Git-Url: https://review.openocd.org/gitweb?a=blobdiff_plain;f=contrib%2Frtos-helpers%2FFreeRTOS-openocd.c;h=81a3ab77abb8b95eea85b07e854c77d74771cad0;hb=bbdb820c82d65cd11abdc329eaa91d410690436e;hp=567e710b0b12422fb6bcaccbde9c1b179b09c96c;hpb=9dfb58e802787b1dcee756cdf963a7a2ac808eca;p=openocd.git diff --git a/contrib/rtos-helpers/FreeRTOS-openocd.c b/contrib/rtos-helpers/FreeRTOS-openocd.c index 567e710b0b..81a3ab77ab 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;