From 81d34723f1a329c2058bf24700570eb8b306b04f Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 6 Jan 2023 18:50:03 -0500 Subject: [PATCH] remove pause int selection --- functions.js | 1 - websvr.js | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/functions.js b/functions.js index 46b85e1..c43245c 100644 --- a/functions.js +++ b/functions.js @@ -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})`); } diff --git a/websvr.js b/websvr.js index 4178619..9a04c35 100644 --- a/websvr.js +++ b/websvr.js @@ -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 }); } });