aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxoviat <[email protected]>2021-04-06 14:17:29 -0500
committerxoviat <[email protected]>2021-04-06 14:17:29 -0500
commitdea09876e030f97ed53d1b81a5327d98c7bcb805 (patch)
tree32986925e3f885394b41185b8fed62f9ac426848
parent12bd3c5ea5571c88283ac3aeea5629f0186e7218 (diff)
stm32: fix example
-rw-r--r--embassy-stm32-examples/src/bin/hello.rs2
1 files changed, 1 insertions, 1 deletions
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::*;
16fn main() -> ! { 16fn main() -> ! {
17 info!("Hello World!"); 17 info!("Hello World!");
18 18
19 let p = stm32f4xx_hal::stm32::Peripherals::take().unwrap(); 19 let p = embassy_stm32::pac::Peripherals::take().unwrap();
20 20
21 p.DBGMCU.cr.modify(|_, w| { 21 p.DBGMCU.cr.modify(|_, w| {
22 w.dbg_sleep().set_bit(); 22 w.dbg_sleep().set_bit();