Skip to content
Commit 4eedd45c authored by Gustavo Silva's avatar Gustavo Silva Committed by Carles Cufí
Browse files

drivers: pwm: pwm_mcux: fix for coverity 321142



Fix `PWM_SetupPwm` function being called with `numOfChnls`
argument equal to 2, when in fact only one channel is being set up.

Also add 'U' suffix to `pwmFreq_Hz` unsigned integer argument in
the function call.

Signed-off-by: default avatarGustavo Silva <gustavograzs@gmail.com>
parent a983abe4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment