Missing passoff of variable

This commit is contained in:
Skylar Grant 2022-12-03 20:25:18 -05:00
parent 2444cbde4d
commit c2226d1c6f

View File

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