Skip to content
Commit 7694ebb6 authored by Henrik Brix Andersen's avatar Henrik Brix Andersen Committed by Maureen Helm
Browse files

drivers: pwm: mcux_ftm: only emit warning on period change from zero



Only emit a warning about changing PWM period for all channels of a
given FTM instance when changing the period from zero to
non-zero. This silences the useless warning issued at first FTM PWM
channel configuration.

Signed-off-by: default avatarHenrik Brix Andersen <hebad@vestas.com>
parent 01079739
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment