Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
card10
firmware
Commits
02d1064c
Commit
02d1064c
authored
Sep 23, 2021
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
epicardium/drivers/sleep.c
View file @
02d1064c
...
...
@@ -195,6 +195,8 @@ void sleep_deepsleep(void)
BbDrvDisable
();
}
turnOffClocks
();
SYS_ClockSourceEnable
(
SYS_CLOCK_HIRC
);
old_clkcn
=
MXC_GCR
->
clkcn
;
switchToHIRC
();
deepsleep
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment