aboutsummaryrefslogtreecommitdiff
path: root/tests/stm32
diff options
context:
space:
mode:
authorBrian Schwind <[email protected]>2025-09-29 22:22:56 +0900
committerBrian Schwind <[email protected]>2025-09-29 22:22:56 +0900
commit6bb08523c9d93fbddc9fac41b3d33c7c4bf91520 (patch)
treefc1fb6ae18a5d9a0229aacd898e29c2f75231fb0 /tests/stm32
parentfc34aa360a28a293211f037204317f9090b876e7 (diff)
Code formatting
Diffstat (limited to 'tests/stm32')
-rw-r--r--tests/stm32/src/bin/afio.rs6
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