stm32-hal
stm32-hal copied to clipboard
STM32G031 PWM output doesn't set output value (using set_duty)
When trying to set output PWM value on STM32G031 using "set_duty" function I consistently get no output and when reading the value using "get_duty" I always get 0. After searching through the "timers.rs" file I found that section in "set_duty" corresponding to the "g0" is commented out. Not sure if it's a typo or it's there on purpose and the issue is in something else."