diff options
| author | Thales Fragoso <[email protected]> | 2021-07-28 17:32:36 -0300 |
|---|---|---|
| committer | Thales Fragoso <[email protected]> | 2021-07-29 18:43:15 -0300 |
| commit | 5cfb9adad807954148310bb56ad98e74718ceca6 (patch) | |
| tree | a2795928042322256f480c619c0be19a57f57b0d /examples | |
| parent | e7714983b3f6ff5084e1cb27bc4de794f98081fd (diff) | |
f4-pll: Add max values per chip
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32f4/src/bin/hello.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32f4/src/bin/hello.rs b/examples/stm32f4/src/bin/hello.rs index 8d4be7150..8ee6c1ef8 100644 --- a/examples/stm32f4/src/bin/hello.rs +++ b/examples/stm32f4/src/bin/hello.rs | |||
| @@ -19,7 +19,7 @@ mod example_common; | |||
| 19 | 19 | ||
| 20 | fn config() -> Config { | 20 | fn config() -> Config { |
| 21 | let mut rcc_config = RccConfig::default(); | 21 | let mut rcc_config = RccConfig::default(); |
| 22 | rcc_config.sys_ck = Some(Hertz(32_000_000)); | 22 | rcc_config.sys_ck = Some(Hertz(84_000_000)); |
| 23 | rcc_config.enable_debug_wfe = true; | 23 | rcc_config.enable_debug_wfe = true; |
| 24 | 24 | ||
| 25 | Config::default().rcc(rcc_config) | 25 | Config::default().rcc(rcc_config) |
