Skip to content

Commit f7b9138

Browse files
author
Jason Kridner
committed
Merge branch 'master' of github.com:jadonk/bonescript
2 parents af8bf62 + e7d4f49 commit f7b9138

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/hw_oldkernel.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ exports.setPinMode = function(pin, pinData, template, resp) {
6464
fs.writeSync(fd, pinData.toString(16), null);
6565
} catch(ex) {
6666
resp.err = 'Error writing to ' + muxFile + ': ' + ex;
67+
return(resp);
6768
}
6869

6970
if(template == 'bspm') {
@@ -84,6 +85,7 @@ exports.setPinMode = function(pin, pinData, template, resp) {
8485
fs.writeFileSync(path+'/polarity', '0');
8586
fs.writeFileSync(path+'/run', '1');
8687
}
88+
return(resp);
8789
};
8890

8991
exports.setLEDPinToGPIO = function(pin, resp) {

0 commit comments

Comments
 (0)