Shutdown gracefully now

This commit is contained in:
Skylar Grant 2022-12-18 20:31:39 -05:00
parent 74b8ee69cc
commit 9fc783d1f5

View File

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