Skip to content

Commit e7d4f49

Browse files
committed
Merge pull request #107 from timothybasanov/patch-1
Fix misprint in hw_oldkernel.js
2 parents 6a04cd2 + 5705ad3 commit e7d4f49

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)