remove pause int selection
This commit is contained in:
parent
d2769fad5e
commit
81d34723f1
@ -161,7 +161,6 @@ const functions = {
|
|||||||
if (newSettings != undefined) {
|
if (newSettings != undefined) {
|
||||||
config.intervals.augerOff = newSettings.augerOff;
|
config.intervals.augerOff = newSettings.augerOff;
|
||||||
config.intervals.augerOn = newSettings.augerOn;
|
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})`);
|
console.log(`[${(Date.now() - config.timestamps.procStart)/1000}] I: Intervals updated: (${newSettings.augerOn}/${newSettings.augerOff}/${newSettings.pause})`);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -55,8 +55,7 @@ app.post('/', (req, res) => {
|
|||||||
if (req.body.reload != undefined) {
|
if (req.body.reload != undefined) {
|
||||||
fn.commands.refreshConfig({
|
fn.commands.refreshConfig({
|
||||||
augerOff: 2000 - req.body.feedRate,
|
augerOff: 2000 - req.body.feedRate,
|
||||||
augerOn: req.body.feedRate,
|
augerOn: req.body.feedRate
|
||||||
pause: req.body.pauseInt
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user