From e6bcf90741cf0796d2143a551be6d1146ad18f1e Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Fri, 6 Jan 2023 18:33:44 -0500 Subject: [PATCH] Change how feed rate is controlled --- websvr.js | 4 ++-- www/views/index.html | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/websvr.js b/websvr.js index 2a50883..4178619 100644 --- a/websvr.js +++ b/websvr.js @@ -54,8 +54,8 @@ app.post('/', (req, res) => { } if (req.body.reload != undefined) { fn.commands.refreshConfig({ - augerOff: 2000 - req.body.augerOn, - augerOn: req.body.augerOn, + augerOff: 2000 - req.body.feedRate, + augerOn: req.body.feedRate, pause: req.body.pauseInt }); } diff --git a/www/views/index.html b/www/views/index.html index 36a70e9..6052649 100644 --- a/www/views/index.html +++ b/www/views/index.html @@ -15,7 +15,12 @@
- ms
+ + ms