diff options
| author | Timo Kröger <[email protected]> | 2021-07-22 23:12:07 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2021-07-24 11:13:49 +0200 |
| commit | 06fb2a7a808d9c05d9724fc4239e2efde1d3511a (patch) | |
| tree | 90166bba1d822e943a2719dd2f8f766acbbd6375 /examples/stm32l4/src/bin/button_exti.rs | |
| parent | ad7a1f1453264717fea90d5ce3ee66df8ff6130c (diff) | |
Enable SYSCFG clock in `exti::init()`
Diffstat (limited to 'examples/stm32l4/src/bin/button_exti.rs')
| -rw-r--r-- | examples/stm32l4/src/bin/button_exti.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/stm32l4/src/bin/button_exti.rs b/examples/stm32l4/src/bin/button_exti.rs index 83537d92e..a7e08afd8 100644 --- a/examples/stm32l4/src/bin/button_exti.rs +++ b/examples/stm32l4/src/bin/button_exti.rs | |||
| @@ -55,10 +55,6 @@ fn main() -> ! { | |||
| 55 | w.set_dbg_standby(true); | 55 | w.set_dbg_standby(true); |
| 56 | w.set_dbg_stop(true); | 56 | w.set_dbg_stop(true); |
| 57 | }); | 57 | }); |
| 58 | |||
| 59 | pac::RCC.apb2enr().modify(|w| { | ||
| 60 | w.set_syscfgen(true); | ||
| 61 | }); | ||
| 62 | } | 58 | } |
| 63 | 59 | ||
| 64 | unsafe { embassy::time::set_clock(&ZeroClock) }; | 60 | unsafe { embassy::time::set_clock(&ZeroClock) }; |
