We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac1746d commit a7dd48cCopy full SHA for a7dd48c
test/test_pwm_setup.py
@@ -18,7 +18,7 @@ def get_pwm_dir():
18
# .pwm or .ehrpwm, etc.
19
results = glob.glob(
20
"/sys/devices/platform/ocp/48302000.*/" +
21
- "48302200.*/pwm/pwmchip?/pwm0")
+ "48302200.*/pwm/pwmchip?/pwm*")
22
# We expect that there will be a result (a directory fitting
23
# our path exists) so test that with an assertion.
24
assert len(results) > 0
0 commit comments