We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5b95c9 commit 15bc866Copy full SHA for 15bc866
portable/MPLAB/PIC24_dsPIC/portmacro.h
@@ -59,6 +59,9 @@ typedef unsigned short UBaseType_t;
59
#if( configUSE_16_BIT_TICKS == 1 )
60
typedef uint16_t TickType_t;
61
#define portMAX_DELAY ( TickType_t ) 0xffff
62
+/* 16-bit tick type on a 16-bit architecture, so reads of the tick count do
63
+ * not need to be guarded with a critical section. */
64
+ #define portTICK_TYPE_IS_ATOMIC 1
65
#else
66
typedef uint32_t TickType_t;
67
#define portMAX_DELAY ( TickType_t ) 0xffffffffUL
0 commit comments