Skip to content
Commit 4f868cd9 authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Carles Cufí
Browse files

drivers: pwm: nrf_sw: drop broken runtime timer clock scaling



There is some kind of runtime clock scaling implemented when period
cycles exceed 16-bit value. This is broken, because configured PWM has
far higher frequency in that case. Replace that mechanism with simply
veryfying if requested PWM period does not exceed 16-bit value.

Suggested-by: default avatarAndrzej Głąbek <andrzej.glabek@nordicsemi.no>
Signed-off-by: default avatarMarcin Niestroj <m.niestroj@grinn-global.com>
parent 6808d29b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment