Shutdown gracefully now

This commit is contained in:
Skylar Grant 2022-12-18 20:31:39 -05:00
parent 74b8ee69cc
commit 9fc783d1f5
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ async function main(fn, gpio) {
break; break;
case "quit": case "quit":
// Quit the script // Quit the script
fn.commands.quit(); fn.commands.shutdown(gpio);
break; break;
case "ignite": case "ignite":
// Start the igniter and timer // Start the igniter and timer