| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -117,7 +117,7 @@ public void close() { | |||
| 117 | 117 | // XXX: implicit clear()? | |
| 118 | 118 | // XXX: also check GPIO | |
| 119 | 119 | ||
| 120 | - String fn = "/sys/class/pwm/" + chip + "/export"; | ||
| 120 | + String fn = "/sys/class/pwm/" + chip + "/unexport"; | ||
| 121 | 121 | int ret = NativeInterface.writeFile(fn, Integer.toString(channel)); | |
| 122 | 122 | if (ret < 0) { | |
| 123 | 123 | if (ret == -2) { // ENOENT | |
| Back | FazBrowse Home | New Git URL |
0 commit comments