From caedbda8c2ecfff4d370939f0c6303de491d0975 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sun, 24 Nov 2024 18:13:03 -0500 Subject: [PATCH] ? --- src/_EMR/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/_EMR/main.js b/src/_EMR/main.js index cc7e0f3..c90291a 100644 --- a/src/_EMR/main.js +++ b/src/_EMR/main.js @@ -13,6 +13,9 @@ setInterval(fn.routines.cycleAuger, 2000); fn.log('Setting exhaust to low to keep NC relay closed and fan running'); gpio.setPin(process.pinMap.get('exhaust').board, 0); +fn.log('Enabling auger'); +process.psState.auger.on = true; + process.on('SIGINT', () => { fn.log(`Exiting gracefully...`); gpio.setPin(process.pinMap.get('auger').board, 0);