portable/GCC/MSPFR5969: fix macro portRESTORE_CONTEXT

The macro should use ret instead of reti instruction.
This commit is contained in:
Rafal Babski 2020-04-02 09:18:58 +01:00
parent 999235962e
commit 60bdcd9538

View file

@ -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
/*-----------------------------------------------------------*/