From efad3acbd4cef46be1112e1cd7bd78ad8a237b9a Mon Sep 17 00:00:00 2001 From: Lukas Schaller Date: Tue, 7 Oct 2025 21:30:05 +0200 Subject: [PATCH] replace AF2 with AF5 for Tim8Ch1 on PB6, probably a typo, tested on STM32F303CBT6 --- src/pwm.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pwm.rs b/src/pwm.rs index f2489fee..11315390 100644 --- a/src/pwm.rs +++ b/src/pwm.rs @@ -1142,7 +1142,7 @@ macro_rules! tim8 { //Pins pwm_channel1_pin!(TIM8, Tim8Ch1, output_to_pa15, gpioa::PA15); - pwm_channel1_pin!(TIM8, Tim8Ch1, output_to_pb6, gpiob::PB6); + pwm_channel1_pin!(TIM8, Tim8Ch1, output_to_pb6, gpiob::PB6); pwm_channel1_pin!(TIM8, Tim8Ch1, output_to_pc6, gpioc::PC6); pwm_channel1n_pin!(TIM8, Tim8Ch1, output_to_pa7, gpioa::PA7);