aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2021-05-05 16:41:05 +0200
committerGitHub <[email protected]>2021-05-05 16:41:05 +0200
commit70549be59ed243b9cfa62ba65a3b38d4ab7574e6 (patch)
tree293699d83724335d708f663e66988bd34787859e
parentc777cf95514e0be4d84c4e63270f61d73323b00f (diff)
parent7262c54f81caf7c547b0a5eb4a33018fa750bdfe (diff)
Merge pull request #161 from bobmcwhirter/exti_using_const
Move exti to use the const addr.
-rw-r--r--embassy-stm32/src/exti.rs2
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
19const SYSCFG: pac::syscfg_f4::Syscfg = pac::syscfg_f4::Syscfg(0x40013800 as *mut _); 19const SYSCFG: pac::syscfg_f4::Syscfg = pac::syscfg_f4::Syscfg(0x40013800 as *mut _);
20const EXTI: pac::exti::Exti = pac::exti::Exti(0x40013c00 as *mut _); 20const EXTI: pac::exti::Exti = pac::exti::Exti(crate::chip::EXTI_BASE as *mut _);
21 21
22const EXTI_COUNT: usize = 16; 22const EXTI_COUNT: usize = 16;
23const NEW_AW: AtomicWaker = AtomicWaker::new(); 23const NEW_AW: AtomicWaker = AtomicWaker::new();