analogdevicesinc / no-OS

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

STM32 PWM driver issue fix #2359

Closed Shetty-Anush closed 2 weeks ago

Shetty-Anush commented 3 weeks ago

Zero initialized the structure as some of the parameters with garbage values were behaving in an undesirable manner in the stm32_init_timer() function when called

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