From 8c61879bb44988d09930cd9f8186065deff24ef2 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Sun, 24 Nov 2024 18:23:14 -0500 Subject: [PATCH] readd state --- src/_EMR/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/_EMR/main.js b/src/_EMR/main.js index e9b142c..1b485f4 100644 --- a/src/_EMR/main.js +++ b/src/_EMR/main.js @@ -2,7 +2,7 @@ const gpio = require('../custom_modules/VoidGPIO.js'); const config = require('../custom_modules/config.json'); const fn = require('../custom_modules/functions.js'); -// const { State } = require('../custom_modules/HestiaClasses.js'); +const { State } = require('../custom_modules/HestiaClasses.js'); // Variables process.pinMap = new Map(); @@ -14,7 +14,7 @@ for (const pin of config.pins) { // Initialize state fn.log('Initializing state'); -// process.psState = new State(config); +process.psState = new State(config); // Auger Loop fn.log('Starting auger loop');