commit | 0e631b2b9349e142cdf098c4c6a9d9200737681d | [log] [tgz] |
---|---|---|
author | Gustavo Silva <gustavograzs@gmail.com> | Fri Jul 07 10:29:58 2023 -0300 |
committer | Josh Lilly <126111723+jgl-meta@users.noreply.github.com> | Mon Jan 22 06:23:24 2024 -0800 |
tree | 7072eaf6fe674c5a19b9d449daf7ba28def29d9c | |
parent | 339194de6e79198e86b83fba5118039974112cfa [diff] |
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: Gustavo Silva <gustavograzs@gmail.com> (cherry picked from commit 4eedd45c8598454bbdec3cdc21161a685da81aff)