Temp remove state, will crash

This commit is contained in:
Skylar Grant 2024-11-24 18:20:18 -05:00
parent 7864721e3e
commit 131f426b8f

View File

@ -2,7 +2,7 @@
const gpio = require('../custom_modules/VoidGPIO.js'); const gpio = require('../custom_modules/VoidGPIO.js');
const config = require('../custom_modules/config.json'); const config = require('../custom_modules/config.json');
const fn = require('../custom_modules/functions.js'); const fn = require('../custom_modules/functions.js');
const { State } = require('../custom_modules/HestiaClasses.js'); // const { State } = require('../custom_modules/HestiaClasses.js');
// Variables // Variables
process.pinMap = new Map(); process.pinMap = new Map();
@ -14,7 +14,7 @@ for (const pin of config.pins) {
// Initialize state // Initialize state
fn.log('Initializing state'); fn.log('Initializing state');
process.psState = new State(config); // process.psState = new State(config);
// Auger Loop // Auger Loop
fn.log('Starting auger loop'); fn.log('Starting auger loop');