stm32: update metapac, includes fix for OTG with 9 endpoints (H7)

This commit is contained in:
Dario Nieuwenhuis
2023-06-27 23:49:30 +02:00
parent f5ca687e9b
commit ed493be869
3 changed files with 7 additions and 5 deletions

View File

@ -38,7 +38,9 @@ async fn main(_spawner: Spawner) {
let p = embassy_stm32::init(config);
info!("Hello World!");
pac::RCC.ccipr().write(|w| w.set_clk48sel(0b10));
pac::RCC.ccipr().write(|w| {
w.set_clk48sel(pac::rcc::vals::Clk48sel::PLLQCLK);
});
let driver = Driver::new(p.USB, Irqs, p.PA12, p.PA11);