Skip to content
Commit 14c200d0 authored by Andrei Emeltchenko's avatar Andrei Emeltchenko Committed by Maureen Helm
Browse files

drivers: pwm: Fix wrong dc calculation for pwm tests



Values used in tests/drivers/pwm/pwm_api overflows calculation inside
xec_compute_dc(). Make calculation to be done in u64_t and then
convert to int.

Signed-off-by: default avatarAndrei Emeltchenko <andrei.emeltchenko@intel.com>
parent ff733369
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment