diff options
| author | Bob McWhirter <[email protected]> | 2021-08-04 13:55:34 -0400 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-08-04 13:55:34 -0400 |
| commit | 6fd8f6b79ad5c951229f72047da2f54342a02254 (patch) | |
| tree | 388bc81e3cc758dc91f1cc30ade30898073f37b4 /examples/stm32f0/src | |
| parent | f91bfef799cb3c9a3107caba80c3343a688c8527 (diff) | |
Remove more extra vars.
Diffstat (limited to 'examples/stm32f0/src')
| -rw-r--r-- | examples/stm32f0/src/example_common.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/stm32f0/src/example_common.rs b/examples/stm32f0/src/example_common.rs index c166522e2..fb39dcf27 100644 --- a/examples/stm32f0/src/example_common.rs +++ b/examples/stm32f0/src/example_common.rs | |||
| @@ -10,10 +10,8 @@ use embassy_stm32::rcc; | |||
| 10 | use embassy_stm32::Config; | 10 | use embassy_stm32::Config; |
| 11 | 11 | ||
| 12 | pub fn config() -> Config { | 12 | pub fn config() -> Config { |
| 13 | let mut rcc_config = rcc::Config::default(); | ||
| 14 | rcc_config.enable_debug_wfe = true; | ||
| 15 | let mut config = Config::default(); | 13 | let mut config = Config::default(); |
| 16 | config.rcc = rcc_config; | 14 | config.rcc.enable_debug_wfe = true; |
| 17 | config | 15 | config |
| 18 | } | 16 | } |
| 19 | 17 | ||
