File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -87,18 +87,18 @@ extern void vPortYield( void );
8787#define portNVIC_INT_CTRL ( ( volatile uint32_t * ) 0xe000ed04 )
8888#define portNVIC_PENDSVSET 0x10000000
8989#define portYIELD () vPortYield()
90- #define portEND_SWITCHING_ISR ( xSwitchRequired ) \
91- do \
92- { \
93- if( xSwitchRequired != pdFALSE ) \
94- { \
95- traceISR_EXIT_TO_SCHEDULER(); \
96- *( portNVIC_INT_CTRL ) = portNVIC_PENDSVSET \
97- } \
98- else \
99- { \
100- traceISR_EXIT(); \
101- } \
90+ #define portEND_SWITCHING_ISR ( xSwitchRequired ) \
91+ do \
92+ { \
93+ if( xSwitchRequired != pdFALSE ) \
94+ { \
95+ traceISR_EXIT_TO_SCHEDULER(); \
96+ *( portNVIC_INT_CTRL ) = portNVIC_PENDSVSET; \
97+ } \
98+ else \
99+ { \
100+ traceISR_EXIT(); \
101+ } \
102102 } while( 0 )
103103#define portYIELD_FROM_ISR ( x ) portEND_SWITCHING_ISR( x )
104104/*-----------------------------------------------------------*/
You can’t perform that action at this time.
0 commit comments