Fix g0 rcc build

This commit is contained in:
chemicstry 2022-07-11 00:37:00 +03:00
parent 5044361ddd
commit 5a208d28d0

View File

@ -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)
}
};