diff options
| author | Bob McWhirter <[email protected]> | 2021-05-05 10:38:57 -0400 |
|---|---|---|
| committer | Bob McWhirter <[email protected]> | 2021-05-05 10:38:57 -0400 |
| commit | 7262c54f81caf7c547b0a5eb4a33018fa750bdfe (patch) | |
| tree | 293699d83724335d708f663e66988bd34787859e | |
| parent | e248baecd407f917267c18c85febe19328d9bbbd (diff) | |
Move exti to use the const addr.
| -rw-r--r-- | embassy-stm32/src/exti.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/exti.rs b/embassy-stm32/src/exti.rs index c952dccbb..9b2370f36 100644 --- a/embassy-stm32/src/exti.rs +++ b/embassy-stm32/src/exti.rs | |||
| @@ -17,7 +17,7 @@ use crate::peripherals; | |||
| 17 | 17 | ||
| 18 | // TODO hardcoding peripheral addrs until we figure out how these are handled in the metapac | 18 | // TODO hardcoding peripheral addrs until we figure out how these are handled in the metapac |
| 19 | const SYSCFG: pac::syscfg_f4::Syscfg = pac::syscfg_f4::Syscfg(0x40013800 as *mut _); | 19 | const SYSCFG: pac::syscfg_f4::Syscfg = pac::syscfg_f4::Syscfg(0x40013800 as *mut _); |
| 20 | const EXTI: pac::exti::Exti = pac::exti::Exti(0x40013c00 as *mut _); | 20 | const EXTI: pac::exti::Exti = pac::exti::Exti(crate::chip::EXTI_BASE as *mut _); |
| 21 | 21 | ||
| 22 | const EXTI_COUNT: usize = 16; | 22 | const EXTI_COUNT: usize = 16; |
| 23 | const NEW_AW: AtomicWaker = AtomicWaker::new(); | 23 | const NEW_AW: AtomicWaker = AtomicWaker::new(); |
