]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/portable/MPLAB/PIC32MX/portmacro.h
+ Update demos that use FreeRTOS+Trace to work with the latest trace recorder library.
[freertos] / FreeRTOS / Source / portable / MPLAB / PIC32MX / portmacro.h
index 4a9a12c70f467752a48333b5052ad066a69c78e2..f6cc189ec354a95e58a9692cdc6a97fa2de4360e 100644 (file)
@@ -102,6 +102,10 @@ typedef unsigned long UBaseType_t;
 #else\r
        typedef uint32_t TickType_t;\r
        #define portMAX_DELAY ( TickType_t ) 0xffffffffUL\r
+\r
+       /* 32-bit tick type on a 32-bit architecture, so reads of the tick count do\r
+       not need to be guarded with a critical section. */\r
+       #define portTICK_TYPE_IS_ATOMIC 1\r
 #endif\r
 /*-----------------------------------------------------------*/\r
 \r