mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 00:57:44 -04:00
portable/GCC/MSPFR5969: fix macro portRESTORE_CONTEXT
The macro should use ret instead of reti instruction.
This commit is contained in:
parent
999235962e
commit
60bdcd9538
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
/*-----------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue