Skip to content

Commit

Permalink
Update hw_oldkernel.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jadonk committed May 17, 2016
1 parent afc6322 commit aa7ec68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hw_oldkernel.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ exports.setPinMode = function(pin, pinData, template, resp) {
} else if(template == 'bspwm') {
resp.path = '/sys/class/pwm/' + pin.pwm.path;
var path = resp.path;
pwmPrefix[pin.pwm.name] = path;

// Clear up any unmanaged usage
fs.writeFileSync(path+'/request', '0');
Expand Down

0 comments on commit aa7ec68

Please sign in to comment.