mirror of https://gerrit.osmocom.org/simtrace2
cstartup: (re-)enable interrupts before calling main()
This commit is contained in:
parent
ec9b5fff3f
commit
db17e83960
|
@ -184,12 +184,12 @@ void ResetException( void )
|
|||
SCB->VTOR |= 1 << SCB_VTOR_TBLBASE_Pos ;
|
||||
}
|
||||
|
||||
/* Branch to main function */
|
||||
main() ;
|
||||
|
||||
/* App should have disabled interrupts during the transition */
|
||||
__enable_irq();
|
||||
|
||||
/* Branch to main function */
|
||||
main() ;
|
||||
|
||||
/* Infinite loop */
|
||||
while ( 1 ) ;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue