mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-12 00:57:44 -04:00
Use CMSIS wrapped asm function in "vPortValidateInterruptPriority"
This commit is contained in:
parent
e27b56d4be
commit
752a2506b2
1 changed files with 1 additions and 1 deletions
|
@ -709,7 +709,7 @@ static void vPortEnableVFP( void )
|
|||
uint8_t ucCurrentPriority;
|
||||
|
||||
/* Obtain the number of the currently executing interrupt. */
|
||||
__asm volatile( "mrs %0, ipsr" : "=r"( ulCurrentInterrupt ) :: "memory" );
|
||||
ulCurrentInterrupt = __get_IPSR();
|
||||
|
||||
/* Is the interrupt number a user defined interrupt? */
|
||||
if( ulCurrentInterrupt >= portFIRST_USER_INTERRUPT_NUMBER )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue