Skip to content
Commit 30542797 authored by Raffael Rostagno's avatar Raffael Rostagno Committed by Benjamin Cabé
Browse files

tests: drivers: pwm: Revert PWM capture change for pulse check



Reverts a change regarding how the test checks the pulse output
from a capture event. A pulse capture will produce a value that has
the same polarity (and range) as programmed by pwm_capture().
Checking 'pulse_capture' against 'period - pulse' means expecting
the driver to return a capture value that is not inverted as well,
which would cause test cases to fail.

Signed-off-by: default avatarRaffael Rostagno <raffael.rostagno@espressif.com>
parent 1b4cef32
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment