From: Angus Gratton Date: Thu, 25 Aug 2016 03:12:48 +0000 (+0800) Subject: FreeRTOS: Change tskNO_AFFINITY value to not match CPU 1 when UNICORE is set X-Git-Tag: v0.9~81^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=580fd635e56c796bdf6d99430480f640328b7723;p=esp-idf FreeRTOS: Change tskNO_AFFINITY value to not match CPU 1 when UNICORE is set --- diff --git a/components/freertos/include/freertos/task.h b/components/freertos/include/freertos/task.h index d771ca6539..ddf7a7589d 100644 --- a/components/freertos/include/freertos/task.h +++ b/components/freertos/include/freertos/task.h @@ -75,6 +75,8 @@ #error "include FreeRTOS.h must appear in source files before include task.h" #endif +#include + #include "list.h" #include "portmacro.h" @@ -91,7 +93,7 @@ extern "C" { #define tskKERNEL_VERSION_MINOR 2 #define tskKERNEL_VERSION_BUILD 0 -#define tskNO_AFFINITY portNUM_PROCESSORS +#define tskNO_AFFINITY INT_MAX /** * task. h