readd state
This commit is contained in:
parent
131f426b8f
commit
8c61879bb4
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user