FreeRTOS: Change tskNO_AFFINITY value to not match CPU 1 when UNICORE is set

This commit is contained in:
Angus Gratton
2016-08-25 11:12:48 +08:00
parent 842bc53549
commit 580fd635e5

View File

@@ -75,6 +75,8 @@
#error "include FreeRTOS.h must appear in source files before include task.h"
#endif
#include <limits.h>
#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