mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Revert the formatting changes on MikroC ports. (#882)
Co-authored-by: Rahul Kar <118818625+kar-rahul-aws@users.noreply.github.com> Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
This commit is contained in:
parent
a8a17dc4b5
commit
2dfc5142f4
|
@ -193,12 +193,8 @@ static inline uint32_t ulPortRaiseBASEPRI( void )
|
||||||
|
|
||||||
ulOriginalBASEPRI = CPU_REG_GET( CPU_BASEPRI );
|
ulOriginalBASEPRI = CPU_REG_GET( CPU_BASEPRI );
|
||||||
CPU_REG_SET( CPU_BASEPRI, configMAX_SYSCALL_INTERRUPT_PRIORITY );
|
CPU_REG_SET( CPU_BASEPRI, configMAX_SYSCALL_INTERRUPT_PRIORITY );
|
||||||
__asm {
|
__asm{ dsb };
|
||||||
dsb
|
__asm{ isb };
|
||||||
};
|
|
||||||
__asm {
|
|
||||||
isb
|
|
||||||
};
|
|
||||||
return ulOriginalBASEPRI;
|
return ulOriginalBASEPRI;
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------*/
|
/*-----------------------------------------------------------*/
|
||||||
|
|
Loading…
Reference in a new issue