remove pause int selection

This commit is contained in:
Skylar Grant 2023-01-06 18:50:03 -05:00
parent d2769fad5e
commit 81d34723f1
2 changed files with 1 additions and 3 deletions

View File

@ -161,7 +161,6 @@ const functions = {
if (newSettings != undefined) {
config.intervals.augerOff = newSettings.augerOff;
config.intervals.augerOn = newSettings.augerOn;
config.intervals.pause = newSettings.pause;
console.log(`[${(Date.now() - config.timestamps.procStart)/1000}] I: Intervals updated: (${newSettings.augerOn}/${newSettings.augerOff}/${newSettings.pause})`);
}

View File

@ -55,8 +55,7 @@ app.post('/', (req, res) => {
if (req.body.reload != undefined) {
fn.commands.refreshConfig({
augerOff: 2000 - req.body.feedRate,
augerOn: req.body.feedRate,
pause: req.body.pauseInt
augerOn: req.body.feedRate
});
}
});