Commit 02d1064c authored by schneider's avatar schneider
Browse files

fix(sleep): Keep HIRC turned on when switching back to HIRC96

parent d54fc1b3
Pipeline #5296 passed with stages
in 2 minutes and 13 seconds
......@@ -195,6 +195,8 @@ void sleep_deepsleep(void)
BbDrvDisable();
}
turnOffClocks();
SYS_ClockSourceEnable(SYS_CLOCK_HIRC);
old_clkcn = MXC_GCR->clkcn;
switchToHIRC();
deepsleep();
......
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