Fix g0 rcc build
This commit is contained in:
parent
5044361ddd
commit
5a208d28d0
1 changed files with 1 additions and 1 deletions
|
@ -361,7 +361,7 @@ pub(crate) unsafe fn init(config: Config) {
|
|||
// Enable LSI
|
||||
RCC.csr().write(|w| w.set_lsion(true));
|
||||
while !RCC.csr().read().lsirdy() {}
|
||||
(LSI_FREQ, Sw::LSI)
|
||||
(LSI_FREQ.0, Sw::LSI)
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue