aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f0/src/bin
diff options
context:
space:
mode:
authorTimo Kröger <[email protected]>2021-07-29 15:24:42 +0200
committerTimo Kröger <[email protected]>2021-07-29 15:35:23 +0200
commit2a4890165d460324966a718fde9b712b06e3cc38 (patch)
treeb6b3feb9d376f4098b8f7f1985657063d9113079 /examples/stm32f0/src/bin
parent01e0a3928ff612654ece7fc4fac720e30736fee4 (diff)
stm32f0: Enable debug access in low power modes
Diffstat (limited to 'examples/stm32f0/src/bin')
-rw-r--r--examples/stm32f0/src/bin/hello.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32f0/src/bin/hello.rs b/examples/stm32f0/src/bin/hello.rs
index a78b9892f..6ebb5cd4d 100644
--- a/examples/stm32f0/src/bin/hello.rs
+++ b/examples/stm32f0/src/bin/hello.rs
@@ -14,7 +14,7 @@ use embassy_stm32::Peripherals;
14#[path = "../example_common.rs"] 14#[path = "../example_common.rs"]
15mod example_common; 15mod example_common;
16 16
17#[embassy::main] 17#[embassy::main(config = "example_common::config()")]
18async fn main(_spawner: Spawner, _p: Peripherals) -> ! { 18async fn main(_spawner: Spawner, _p: Peripherals) -> ! {
19 loop { 19 loop {
20 Timer::after(Duration::from_secs(1)).await; 20 Timer::after(Duration::from_secs(1)).await;