\r
/* Interrupt control macros. */\r
#define portDISABLE_INTERRUPTS() _disable_interrupt(); _nop()\r
-#define portENABLE_INTERRUPTS() _enable_interrupt()\r
+#define portENABLE_INTERRUPTS() _enable_interrupt(); _nop()\r
/*-----------------------------------------------------------*/\r
\r
/* Critical section control macros. */\r
\r
#define portENTER_CRITICAL() \\r
{ \\r
-extern volatile uint16_t usCriticalNesting; \\r
+extern volatile uint16_t usCriticalNesting; \\r
\\r
portDISABLE_INTERRUPTS(); \\r
\\r
\r
#define portEXIT_CRITICAL() \\r
{ \\r
-extern volatile uint16_t usCriticalNesting; \\r
+extern volatile uint16_t usCriticalNesting; \\r
\\r
if( usCriticalNesting > portNO_CRITICAL_SECTION_NESTING ) \\r
{ \\r
\r
/* Interrupt control macros. */\r
#define portDISABLE_INTERRUPTS() asm volatile ( "DINT" ); asm volatile ( "NOP" )\r
-#define portENABLE_INTERRUPTS() asm volatile ( "EINT" )\r
+#define portENABLE_INTERRUPTS() asm volatile ( "EINT" ); asm volatile ( "NOP" )\r
/*-----------------------------------------------------------*/\r
\r
/* Critical section control macros. */\r
\r
/* Interrupt control macros. */\r
#define portDISABLE_INTERRUPTS() _DINT(); _NOP()\r
-#define portENABLE_INTERRUPTS() _EINT();\r
+#define portENABLE_INTERRUPTS() _EINT(); _NOP()\r
/*-----------------------------------------------------------*/\r
\r
/* Critical section control macros. */\r
\r
/* Interrupt control macros. */\r
#define portDISABLE_INTERRUPTS() _DINT();_NOP()\r
-#define portENABLE_INTERRUPTS() _EINT()\r
+#define portENABLE_INTERRUPTS() _EINT(); _NOP()\r
/*-----------------------------------------------------------*/\r
\r
/* Critical section control macros. */\r
\r
#define portENTER_CRITICAL() \\r
{ \\r
-extern volatile uint16_t usCriticalNesting; \\r
+extern volatile uint16_t usCriticalNesting; \\r
\\r
portDISABLE_INTERRUPTS(); \\r
\\r
\r
#define portEXIT_CRITICAL() \\r
{ \\r
-extern volatile uint16_t usCriticalNesting; \\r
+extern volatile uint16_t usCriticalNesting; \\r
\\r
if( usCriticalNesting > portNO_CRITICAL_SECTION_NESTING ) \\r
{ \\r