Improved logging
This commit is contained in:
parent
c80306271d
commit
eea8c9fef5
1
main.js
1
main.js
@ -54,6 +54,7 @@ fn.commands.refreshConfig().then(res => {
|
|||||||
|
|
||||||
function main(gpio) {
|
function main(gpio) {
|
||||||
// Set the Igniter
|
// Set the Igniter
|
||||||
|
if (process.env.DEBUG) console.log(`[${(Date.now() - config.timestamps.procStart)/1000}] I: IGN: [${config.status.igniter}] | EXH: [${config.status.exhaust}] | AUG: [${config.status.auger}]`);
|
||||||
switch (config.status.igniter) {
|
switch (config.status.igniter) {
|
||||||
case 0:
|
case 0:
|
||||||
fn.igniter.off(gpio);
|
fn.igniter.off(gpio);
|
||||||
|
Loading…
Reference in New Issue
Block a user