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 bf0e649 commit b77cbfeCopy full SHA for b77cbfe
java/libraries/io/src/processing/io/PWM.java
@@ -117,7 +117,7 @@ public void close() {
117
// XXX: implicit clear()?
118
// XXX: also check GPIO
119
120
- String fn = "/sys/class/pwm/" + chip + "/export";
+ String fn = "/sys/class/pwm/" + chip + "/unexport";
121
int ret = NativeInterface.writeFile(fn, Integer.toString(channel));
122
if (ret < 0) {
123
if (ret == -2) { // ENOENT
0 commit comments