Forgot to break switch

This commit is contained in:
Skylar Grant 2022-12-08 12:51:39 -05:00
parent c7ff04faea
commit 0309ffa615

View File

@ -85,6 +85,7 @@ async function main(fn, gpio) {
fn.commands.quit(); fn.commands.quit();
}); });
}); });
break;
case "start": case "start":
// Start the stove // Start the stove
fn.commands.startup(gpio).then(res => { fn.commands.startup(gpio).then(res => {
@ -92,6 +93,7 @@ async function main(fn, gpio) {
}).catch(rej => { }).catch(rej => {
}); });
break;
case "none": case "none":
// If no special files are found, cycle the auger normally // If no special files are found, cycle the auger normally
if (config.status.auger == 1) { if (config.status.auger == 1) {