Shutdown gracefully now
This commit is contained in:
parent
74b8ee69cc
commit
9fc783d1f5
2
main.js
2
main.js
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user