From 60bdcd9538633f5c3fe4653cddfcfcad44cab9b3 Mon Sep 17 00:00:00 2001 From: Rafal Babski Date: Thu, 2 Apr 2020 09:18:58 +0100 Subject: [PATCH] portable/GCC/MSPFR5969: fix macro portRESTORE_CONTEXT The macro should use ret instead of reti instruction. --- portable/GCC/MSP430FR5969/port.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portable/GCC/MSP430FR5969/port.c b/portable/GCC/MSP430FR5969/port.c index 76b1ce004..82ee0d4f7 100644 --- a/portable/GCC/MSP430FR5969/port.c +++ b/portable/GCC/MSP430FR5969/port.c @@ -122,7 +122,7 @@ volatile uint16_t usCriticalNesting = portINITIAL_CRITICAL_NESTING; "nop \n\t" \ "pop.w sr \n\t" \ "nop \n\t" \ - "reti \n\t" \ + "ret \n\t" \ ); #endif /*-----------------------------------------------------------*/