fix IAR/CM0/portmacro.h missing semicolon (#894)
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com>
diff --git a/portable/IAR/ARM_CM0/portmacro.h b/portable/IAR/ARM_CM0/portmacro.h
index fa8438f..88cba20 100644
--- a/portable/IAR/ARM_CM0/portmacro.h
+++ b/portable/IAR/ARM_CM0/portmacro.h
@@ -87,18 +87,18 @@
#define portNVIC_INT_CTRL ( ( volatile uint32_t * ) 0xe000ed04 )
#define portNVIC_PENDSVSET 0x10000000
#define portYIELD() vPortYield()
-#define portEND_SWITCHING_ISR( xSwitchRequired ) \
- do \
- { \
- if( xSwitchRequired != pdFALSE ) \
- { \
- traceISR_EXIT_TO_SCHEDULER(); \
- *( portNVIC_INT_CTRL ) = portNVIC_PENDSVSET \
- } \
- else \
- { \
- traceISR_EXIT(); \
- } \
+#define portEND_SWITCHING_ISR( xSwitchRequired ) \
+ do \
+ { \
+ if( xSwitchRequired != pdFALSE ) \
+ { \
+ traceISR_EXIT_TO_SCHEDULER(); \
+ *( portNVIC_INT_CTRL ) = portNVIC_PENDSVSET; \
+ } \
+ else \
+ { \
+ traceISR_EXIT(); \
+ } \
} while( 0 )
#define portYIELD_FROM_ISR( x ) portEND_SWITCHING_ISR( x )
/*-----------------------------------------------------------*/