Fixed wrong assertion.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@13034 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
64396f4f9f
commit
b5ec31f16e
|
@ -124,7 +124,7 @@ void SVC_Handler(void) {
|
||||||
/*lint -restore*/
|
/*lint -restore*/
|
||||||
uint32_t psp = __get_PSP();
|
uint32_t psp = __get_PSP();
|
||||||
|
|
||||||
chDbgAssert(((uint32_t)__builtin_return_address(0) & 4U) == 0U,
|
chDbgAssert(((uint32_t)__builtin_return_address(0) & 4U) != 0U,
|
||||||
"not process");
|
"not process");
|
||||||
|
|
||||||
#if PORT_USE_SYSCALL == TRUE
|
#if PORT_USE_SYSCALL == TRUE
|
||||||
|
|
Loading…
Reference in New Issue