Missing passoff of variable

This commit is contained in:
Skylar Grant 2022-12-03 20:25:18 -05:00
parent 2444cbde4d
commit c2226d1c6f
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ const functions = {
}, },
// Turns the auger off (pin 7 low) // Turns the auger off (pin 7 low)
off() { off(gpio) {
return new Promise((resolve) => { return new Promise((resolve) => {
if (process.env.ONPI == 'true') { if (process.env.ONPI == 'true') {
gpio.write(7, false, function(err) { gpio.write(7, false, function(err) {