File tree Expand file tree Collapse file tree 1 file changed +1
-15
lines changed
Expand file tree Collapse file tree 1 file changed +1
-15
lines changed Original file line number Diff line number Diff line change 112112 */
113113 #if ( ( portUSING_GRANULAR_LOCKS == 1 ) && ( configNUMBER_OF_CORES > 1 ) )
114114 #define event_groupsLOCK ( pxEventBits ) taskDATA_GROUP_LOCK( &( ( pxEventBits )->xTaskSpinlock ) )
115- #define event_groupsUNLOCK ( pxEventBits ) \
116- ( { \
117- taskDATA_GROUP_UNLOCK( &( ( pxEventBits )->xTaskSpinlock ) ); \
118- BaseType_t xAlreadyYielded; \
119- if( xTaskUnlockCanYield() == pdTRUE ) \
120- { \
121- taskYIELD_WITHIN_API(); \
122- xAlreadyYielded = pdTRUE; \
123- } \
124- else \
125- { \
126- xAlreadyYielded = pdFALSE; \
127- } \
128- xAlreadyYielded; \
129- } )
115+ #define event_groupsUNLOCK ( pxEventBits ) taskDATA_GROUP_UNLOCK( &( ( pxEventBits )->xTaskSpinlock ) )
130116 #else /* #if ( ( portUSING_GRANULAR_LOCKS == 1 ) && ( configNUMBER_OF_CORES > 1 ) ) */
131117 #define event_groupsLOCK ( pxEventBits ) vTaskSuspendAll()
132118 #define event_groupsUNLOCK ( pxEventBits ) xTaskResumeAll()
You can’t perform that action at this time.
0 commit comments