stm32: fix example
This commit is contained in:
parent
12bd3c5ea5
commit
dea09876e0
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ use embassy_stm32::hal::prelude::*;
|
|||
fn main() -> ! {
|
||||
info!("Hello World!");
|
||||
|
||||
let p = stm32f4xx_hal::stm32::Peripherals::take().unwrap();
|
||||
let p = embassy_stm32::pac::Peripherals::take().unwrap();
|
||||
|
||||
p.DBGMCU.cr.modify(|_, w| {
|
||||
w.dbg_sleep().set_bit();
|
||||
|
|
Loading…
Reference in a new issue