Skip to content
Commit 1520820b authored by Georgij Cernysiov's avatar Georgij Cernysiov Committed by Maureen Helm
Browse files

drivers: pwm: stm32: fix PWM channel disabling



Move period and pulse computation to right before
the channel enable code.

That fixes the inability to disable the channel by
providing the period of 0.

Signed-off-by: default avatarGeorgij Cernysiov <geo.cgv@gmail.com>
parent d875cfc1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment