From 55f0466ead75c5550544164dcce0412dc61b5d2e Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Thu, 8 Dec 2022 12:54:20 -0500 Subject: [PATCH] Forgot to loop --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index f95f565..7be6804 100644 --- a/main.js +++ b/main.js @@ -76,6 +76,7 @@ async function main(fn, gpio) { // Start the igniter and timer fn.commands.ignite(gpio).then(res => { if (config.debugMode) console.log(res); + statusCheck(fn, gpio); }).catch(rej => { console.error(`[${(Date.now() - config.startTime)/1000}] E: ${rej}`); fn.commands.shutdown(gpio).then(res => { @@ -91,7 +92,7 @@ async function main(fn, gpio) { fn.commands.startup(gpio).then(res => { statusCheck(fn, gpio); }).catch(rej => { - + // TODO }); break; case "none":