diff options
Diffstat (limited to 'tests/stm32/src/bin/afio.rs')
| -rw-r--r-- | tests/stm32/src/bin/afio.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/stm32/src/bin/afio.rs b/tests/stm32/src/bin/afio.rs index 356c39443..feddbc802 100644 --- a/tests/stm32/src/bin/afio.rs +++ b/tests/stm32/src/bin/afio.rs | |||
| @@ -258,11 +258,7 @@ async fn main(_spawner: Spawner) { | |||
| 258 | { | 258 | { |
| 259 | // partial remap | 259 | // partial remap |
| 260 | reset_afio_registers(); | 260 | reset_afio_registers(); |
| 261 | Qei::new::<AfioRemap<1>>( | 261 | Qei::new::<AfioRemap<1>>(p.TIM1.reborrow(), p.PA8.reborrow(), p.PA9.reborrow()); |
| 262 | p.TIM1.reborrow(), | ||
| 263 | p.PA8.reborrow(), | ||
| 264 | p.PA9.reborrow(), | ||
| 265 | ); | ||
| 266 | defmt::assert_eq!(AFIO.mapr().read().tim1_remap(), 1); | 262 | defmt::assert_eq!(AFIO.mapr().read().tim1_remap(), 1); |
| 267 | } | 263 | } |
| 268 | 264 | ||
