-
Notifications
You must be signed in to change notification settings - Fork 513
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[test] fixes TEST=wiring/no_fixture_long_running PWM test
Test was broken due to a bad ABS macro that was spitting out mostly negative values, also refactored to iterate from 20-90% Duty Cycle PWM in 5% steps, and made adjustments to keep it from hanging (20-30us pulses still too low to measure on Gen 3), and lightened the rigid accuracy calculations `Pulse width should be within 15% error margin resolution > 6, else 40%` and finally we don’t bother to test 2 and 3 bit PWM anymore since it’s very crude.
- Loading branch information
Showing
1 changed file
with
30 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters