diff options
| author | Bob McWhirter <[email protected]> | 2021-08-04 15:28:08 -0400 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-08-04 15:28:08 -0400 |
| commit | 9726f77ce13e4c31fbe9aaa7e259aa9c31b60c63 (patch) | |
| tree | c2d2fd7825d8f93b31c8fbce2adcad6a53f1ff04 /examples | |
| parent | 97e4b89f82642f6b597a84a0112ae98e304cfc1f (diff) | |
Grep fails me.
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32f4/src/bin/hello.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/stm32f4/src/bin/hello.rs b/examples/stm32f4/src/bin/hello.rs index 435ed9748..20eda3ae0 100644 --- a/examples/stm32f4/src/bin/hello.rs +++ b/examples/stm32f4/src/bin/hello.rs | |||
| @@ -9,7 +9,6 @@ | |||
| 9 | use defmt::{info, panic}; | 9 | use defmt::{info, panic}; |
| 10 | use embassy::executor::Spawner; | 10 | use embassy::executor::Spawner; |
| 11 | use embassy::time::{Duration, Timer}; | 11 | use embassy::time::{Duration, Timer}; |
| 12 | use embassy_stm32::rcc::Config as RccConfig; | ||
| 13 | use embassy_stm32::time::Hertz; | 12 | use embassy_stm32::time::Hertz; |
| 14 | use embassy_stm32::Config; | 13 | use embassy_stm32::Config; |
| 15 | use embassy_stm32::Peripherals; | 14 | use embassy_stm32::Peripherals; |
| @@ -19,7 +18,6 @@ mod example_common; | |||
| 19 | 18 | ||
| 20 | fn config() -> Config { | 19 | fn config() -> Config { |
| 21 | let mut config = Config::default(); | 20 | let mut config = Config::default(); |
| 22 | config.rcc = rcc_config; | ||
| 23 | config.rcc.sys_ck = Some(Hertz(84_000_000)); | 21 | config.rcc.sys_ck = Some(Hertz(84_000_000)); |
| 24 | config.rcc.enable_debug_wfe = true; | 22 | config.rcc.enable_debug_wfe = true; |
| 25 | config | 23 | config |
