aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-12-02 17:13:55 +0000
committerGitHub <[email protected]>2021-12-02 17:13:55 +0000
commitdf9a41c3eb2871e1c0a2ef0a6bd930f4c33179cb (patch)
tree9ee4f20f0bba00b9c1dea9531ff2baa16297a274
parent51c26a7d05b484cbf574b673db8abb91ecb70f1c (diff)
parent6e0eb33ea8ee85bbf11778796d5717b90076a3ac (diff)
Merge #515
515: Downcast timer to GP16 for time drivers. r=lulf a=matoushybl Co-authored-by: Matous Hybl <[email protected]>
-rw-r--r--embassy-stm32/src/time_driver.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/time_driver.rs b/embassy-stm32/src/time_driver.rs
index 4e1eb7aaa..d20929e17 100644
--- a/embassy-stm32/src/time_driver.rs
+++ b/embassy-stm32/src/time_driver.rs
@@ -295,7 +295,7 @@ macro_rules! impl_timer {
295 type Interrupt = crate::interrupt::$inst; 295 type Interrupt = crate::interrupt::$inst;
296 296
297 fn regs() -> TimGp16 { 297 fn regs() -> TimGp16 {
298 crate::pac::$inst 298 crate::pac::timer::TimGp16(crate::pac::$inst.0)
299 } 299 }
300 } 300 }
301 301