From dea09876e030f97ed53d1b81a5327d98c7bcb805 Mon Sep 17 00:00:00 2001 From: xoviat Date: Tue, 6 Apr 2021 14:17:29 -0500 Subject: [PATCH] stm32: fix example --- embassy-stm32-examples/src/bin/hello.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embassy-stm32-examples/src/bin/hello.rs b/embassy-stm32-examples/src/bin/hello.rs index d2db4a2a0..b851482d4 100644 --- a/embassy-stm32-examples/src/bin/hello.rs +++ b/embassy-stm32-examples/src/bin/hello.rs @@ -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();