Commit 199261e8 authored by Rahix's avatar Rahix
Browse files

fix(core1-control): Fix SysTick not being reset

Commit dbeec980 ("fix(pycardium): Fix delay implementation") enables
the systick on core 1 but on loading a new app, it is not reset which
makes some l0dables crash.  Fix this by always resetting (disabling) the
SysTick in the core1_reset() stub.

Fixes: dbeec980

 ("fix(pycardium): Fix delay implementation")
Reported-by: default avatarBeastie <fischervincent98@gmail.com>
Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent d9b904fc
......@@ -76,6 +76,11 @@ void __core1_init(void)
*/
TMR_IntClear(MXC_TMR5);
/*
* Disable the SysTick
*/
SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk;
/*
* Reset Interrupts
*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment