analogdevicesinc / no-OS

Software drivers in C for systems without an operating system
http://analogdevicesinc.github.io/no-OS/
Other
874 stars 1.63k forks source link

drivers:platform:stm32:Fixes to PWM driver #2153

Closed jansunil closed 2 months ago

jansunil commented 2 months ago

The PWM polarity was being hardcoded to TIM_OCPOLARITY_HIGH, despite there being a no-OS structure member for polarity

Fixes: 9264d89 ("stm32 pwm support")

Pull Request Description

Please replace this with a detailed description and motivation of the changes. You can tick the checkboxes below with an 'x' between square brackets or just check them after publishing the PR. If this PR contains a breaking change, list dependent PRs and try to push all related PRs at the same time.

PR Type

PR Checklist