Improved logging

This commit is contained in:
Skylar Grant 2023-11-17 12:34:58 -05:00
parent c80306271d
commit eea8c9fef5

View File

@ -54,6 +54,7 @@ fn.commands.refreshConfig().then(res => {
function main(gpio) {
// 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) {
case 0:
fn.igniter.off(gpio);