stm32/usb: ensure mux is configured in examples.
This commit is contained in:
@@ -39,6 +39,7 @@ async fn main(_spawner: Spawner) {
|
||||
config.rcc.apb1_pre = APBPrescaler::DIV4;
|
||||
config.rcc.apb2_pre = APBPrescaler::DIV2;
|
||||
config.rcc.sys = Sysclk::PLL1_P;
|
||||
config.rcc.mux.clk48sel = mux::Clk48sel::PLL1_Q;
|
||||
}
|
||||
let p = embassy_stm32::init(config);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user